I can’t activate my (small) Pipedrive workflow due to an “unknown error”. This workflow worked a few days ago when I was still testing after deploying the N8N CE on Digitalocean. But now that we want to activate it again, I’m getting this error.
What is the error message (if any)?
Please share the workflow
Information on your n8n setup
n8n version: 0.218.0
Database you’re using (default: SQLite): postgres
Running n8n with the execution process [own(default), main]:
Running n8n via [Docker, npm, n8n.cloud, desktop app]: DigitalOcean (docker)
That looks like it should be fine, I can’t think of anything else that might result in that error. Does Pipedrive already have a webhook registered for that URL maybe? I know sometimes our delete doesn’t always work as expected.
It could be worth adding a new Pipedrive node to the workflow and seeing if that works.
So that looks like it uses Digital Ocean apps and doesn’t have any storage with it which is required to hold the encryption key so what will happen is if you restart n8n a new key is generated and your credentials will no longer be valid.
You will need to set an env option for the encryption key, When creating the app and it mentions environment options add N8N_ENCRYPTION_KEY and set a value that you keep in a password manager somewhere and that will tell n8n to always use that key.
I suspect in your case what has happened is either an update of n8n at some point, a planned restart or the app crashed and restarted.