EncryptionKey empty after deploy

0
Hello guys, i have a problem with EncryptionKey constant. I already set a value with 32 character but when i configure the SMTP in localhost its work well but when i do this after deploy, i get a error mensage: Encryption: Error while encrypting string: Key should not be empty. As i say i have set a value with 32 character and in localhost its work but i dont understand why in a test enviroment its not work.
asked
3 answers
2

For free cloud need to add these

 

answered
0

For cloud environments, you have to set up constants before deployment. You can find them under the model options:

Environment details - model options

 

answered
0

Try using a 16 character value for the encrtyption key. The length of this key must be 16 characters.

answered