<-- Back

ERROR: Cannot decrypt the text because it was either encrypted with a different key or not encrypted at all

Issue

After updating the Encryption module and changing the encryption key to a new value, other modules that depend on the Encryption module are generating the following error message:

ERROR - Encryption: Error while decrypting string: Cannot decrypt the text because it was either encrypted with a different key or not encrypted at all

Environment

Studio Pro

Cause

The error message is expected due to the change in the encryption key.

This error may occur in any module utilizing the Encryption module. It persists in searching for the old key to decrypt data previously encrypted and triggers the error upon a key mismatch.

Solution/Workaround

The same old encryption key should be used or every module that depends on the Encryption module will have to be updated with the new encryption key.

Internal information related

  • 188627, 228721, and 230688
  • RUN-3710

Additional information 

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.