Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Encrypt & Decrypt

  Thread closed by the administrator, not accepting new replies.
  • 1.  Encrypt & Decrypt

    Posted 06-09-2023 09:20
    No replies, thread closed.

    Hi Team,

    I am looking for a help as below.

    I have customer policy numbers from customer DB sending to Genesys via internet but in encrypt format .

    Genesys IVR will receive it and decrypt the Policy number .

    For this we configured AWS key Encryption and in IVR we are encrypt and decrypt method but it was throwing error 

    "Errormsg": "The data could not be decrypted; it may be corrupt, or if encrypted outside of Genesys Cloud it may have been encrypted with an incompatible library or settings (e.g. crypto algorithm, encryption context, etc.).",


    #Implementation
    #Integrations
    #Routing(ACD/IVR)

    ------------------------------
    Raghavapvds
    ------------------------------


  • 2.  RE: Encrypt & Decrypt

    Posted 06-09-2023 11:03
    No replies, thread closed.

    The best way to get help on that may be to open a Support case since they can look at back end logs you do not have access to.

    It sounds like you are setting the failure output variables already and reading the outputs?



    ------------------------------
    George Ganahl GCP (Genesys Cloud), CCXP
    Principal PS Consultant
    Genesys
    ------------------------------



  • 3.  RE: Encrypt & Decrypt

    Posted 07-10-2024 22:59
    No replies, thread closed.

    I need an infomration, can  you please let me know if encryption was 128 or 256 bit . Thanks



    ------------------------------
    Anush Shetty
    SBI Shinsei Bank, Limited
    ------------------------------



  • 4.  RE: Encrypt & Decrypt

    Posted 07-11-2024 00:59
    Edited by Raghavapvds pvds 07-11-2024 01:01
    No replies, thread closed.

    Hey Anush,

     

    Its 128 Bit encryption.

     



  • 5.  RE: Encrypt & Decrypt

    Posted 07-11-2024 03:43
    Edited by Anush Shetty 07-11-2024 21:24
    No replies, thread closed.

    Thank you for response, i hope  the issue was resolved  and encryption and decryption worked using 128 bit. 



    ------------------------------
    Anush Shetty
    SBI Shinsei Bank, Limited
    ------------------------------



  • 6.  RE: Encrypt & Decrypt

    Posted 07-15-2024 20:24
    No replies, thread closed.

    Dear Raghavapvds,

    It would be of great help if you confirm if it worked using 128 bit encryption since i am trying to check feasiblity . Thank you



    ------------------------------
    Anush Shetty
    SBI Shinsei Bank, Limited
    ------------------------------



  • 7.  RE: Encrypt & Decrypt

    Posted 07-25-2025 05:00
    Edited by Swati Shrivastava 07-25-2025 05:01
    No replies, thread closed.

    Hi Anush,

    We also have similar use case where we need to decrypt the customer data within Architect but facing same error as yours. Wish to know on the solution which worked for you?



    ------------------------------
    Swati Shrivastava
    Consultant (Accenture)
    ------------------------------



  • 8.  RE: Encrypt & Decrypt

    Posted 07-25-2025 09:30
    No replies, thread closed.

    @Swati Shrivastava what are the errorType and errorMessage values when the action fails in Architect (presuming you configured variables to receive those values) 

    From the RC:

    Failure outputs include these fields:

    • errorType: A nonempty String that contains the type or category of the error. The allowable values are:
      • CustomerKeyNotConfigured
      • CustomerKeyNotFound
      • GeneralError
      • MaximumDataSizeExceeded
      • NoDataSupplied
    • errorMessage: A non-localized error message. The String may be empty or NOT_SET.


    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 9.  RE: Encrypt & Decrypt

    Posted 07-25-2025 09:54
    No replies, thread closed.

    Hi George,

    Please find the screenshot of error

    Error Msg


    ------------------------------
    Swati Shrivastava
    Consultant
    ------------------------------



  • 10.  RE: Encrypt & Decrypt

    Posted 07-25-2025 10:04
    No replies, thread closed.
    1. Just checking...did you fully follow the directions at https://help.mypurecloud.com/articles/use-an-aws-kms-symmetric-key-for-conversations/to set up the key?
    2. Are you sure there are no NOT_SET or null values being encrypted?

    You'll probably have to get Support involved...the errorType value is not one of the ones listed as allowed...

    • errorType: A nonempty String that contains the type or category of the error. The allowable values are:
      • CustomerKeyNotConfigured
      • CustomerKeyNotFound
      • GeneralError
      • MaximumDataSizeExceeded
      • NoDataSupplied


    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 11.  RE: Encrypt & Decrypt

    Posted 07-25-2025 10:28
    No replies, thread closed.

    Hi George,

    Thank you for your reply. We got below reply from support which doesn't make sense to us. And further they ask us to check with Professional Services.

    Decrypt Data Action is only used for decrypting strings generated from Encrypt Data Action. 



    ------------------------------
    Swati Shrivastava
    Consultant
    ------------------------------



  • 12.  RE: Encrypt & Decrypt

    Posted 07-25-2025 11:05
    No replies, thread closed.

    I guess the first question I should have asked is, Are you using a Data Action to retrieve the encrypted data from the remote system?

    The Decrypt Data action is specifically meant to decrypt data that is output from a Call Data Action action:

    "Use this action to decrypt PCI data after you call a data action to a back-end system."



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 13.  RE: Encrypt & Decrypt

    Posted 07-29-2025 01:58
    No replies, thread closed.

    Hi George,

    We are using Data Action to get the encrypted data from remote system and then using 'Decrypt Data' block to decrypt PCI data and there we are getting error which i posted in above message.



    ------------------------------
    Swati Shrivastava
    Consultant
    ------------------------------



  • 14.  RE: Encrypt & Decrypt
    Best Answer

    Posted 07-29-2025 15:20
    No replies, thread closed.

    Ok. You will probably have to escalate the Support case to get someone to take another look, based on your understanding of how the Decrypt action is supposed to be used.



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------