Describe the problem/error/question
I’m using a self hosted n8n with official docker image n8nio/n8n:1.102.0, and using postgres:16 as database with docker compose. We have three environments: local, dev and prod and our intention is to promote based on some scripts we’ve created.
Our process -comments are welcomed- is local development → local export credentials & workflows → dev import for credentials & workflows → prod import for credentials & workflows. But aparently, a cred was previously created and I can’t export them. I end up seeing this error message
Credentials could not be decrypted. The likely reason is that a different "encryptionKey" was used to encrypt the data.
I’ve already deleted credentials from the UI, but is isn’t enough. I may share the script if it is useful for you guys.
What is the error message (if any)?
Credentials could not be decrypted. The likely reason is that a different “encryptionKey” was used to encrypt the data.
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.102.0
- Database (default: SQLite): postgress
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system: it’s running on docker containers