An endpoint /v1/environments returns 500 error
I deployed Novu service on AWS with Docker and when I go to the web application I see the 500 error on the endpoint /v1/environments
How to fix it?
The following curl command return the same:
curl --request GET --url https://<my-website-address>/v1/environments --header 'Authorization: ApiKey <my-api-key>'
the command returned:
{"statusCode":500,"message":"Internal server error"}
I tried see logs in a docker container
"context":"ExceptionsHandler","err":{"type":"Error","message":"error:1C800064:Provider routines::bad decrypt","stack":"Error: error:1C800064:Provider routines::bad decrypt\n at Decipheriv.final (node:internal/crypto/cipher:193:29)\n at decrypt (/usr/src/app/packages/application-generic/build/main/encryption/cipher.js:22:52)\n at decryptSecret (/usr/src/app/packages/application-generic/build/main/encryption/encrypt-provider.js:16:33)\n at decryptApiKey
2 Replies
@iDaem👀n
Can you try logout and login again?
I've already tried