When I create a flow that has a Mailchimp trigger, everything works perfectly when executing the workflow, but when I try to activate it, I receive an error message that says “Workflow could not be activate: UNKNOWN ERROR - check the detailed error for more information.” This happens even if the Mailchimp trigger node is the only node in the flow, so it’s not an issue with a different node. I’ve tried connecting to Mailchimp with both API and OAuth2, same result for both.
Interestingly, in a fresh workflow with a Mailchimp trigger I was able to activate it temporarily by creating the trigger node and immediately activating it without ever using “executing workflow” or testing it in any way. However, once I did run execute workflow to run some data through to help me build the rest of the flow, it refused to save and then deactivated itself and I was right back at square one.
I’ve seen this error discussed elsewhere on the n8n forums and on Github, but not recently and not for any n8n Cloud users. Any ideas?
What is the error message (if any)?
“Workflow could not be activate: UNKNOWN ERROR - check the detailed error for more information.”
Please share the workflow
Share the output returned by the last node
Information on your n8n setup
n8n version: 0.211.1
Database you’re using (default: SQLite): N8n Cloud
Running n8n with the execution process [own(default), main]: ?
Running n8n via [Docker, npm, n8n.cloud, desktop app]: n8n.cloud
Hi @vsctech, welcome to the community. I also tried reproducing your issue but could not import the workflow you copied above. Would you mind adding it again, maybe wrapped in code? That would help me a lot
Hey @vsctech, thanks for the additional input. I just tried to reproduce your issue and was not able to. But I have an idea what it might be: Did you maybe duplicate the mailchimp trigger from somewhere (e.g. by duplicating a workflow or by duplicating it in the canvas)?
If you happen to have multiple Mailchimp triggers across Worfklows, try to open the Webhook URLs section and make sure that the URL is unique everywhere.
Normally, duplicating the trigger should always automatically result in a different URL and when I tried duplicating mine, it did that. But maybe it didn’t work for you somehow…
Oh, very interesting! I believe the one I posted is a fresh workflow but I’ve been duplicating so many workflows to troubleshoot this that I’ve honestly lost track. Let me do some cleanup and check my Webhook URLs and I’ll report back on what I find.
Hi @Niklas_Hatje, unfortunately still getting the error. I cleaned up my workflows so I have only two workflows that use the MailChimp trigger (my original workflow, and a brand new one I created just for testing.) As before, the brand new one worked fine and was able to activate until I used the Execute Node button and externally triggered it (by subscribing to the mailing list.) Then it’s back to not activating and giving the error. Here’s my Webhook URLs:
Hi @netroy, I just tried again. Sadly still no luck. I tested on the two existing workflows I’ve been using and on a new one I just created, unable to activate any of them. Thank you for your continued troubleshooting with this!
Hi @Netroy, that seems to have fixed it! I’m now able to successfully activate both of the MailChimp trigger flows I created for testing purposes. I still can’t activate my original Mailchimp trigger flow, but it’s now giving me a different error message:
I’m going to try rebuilding that one from scratch in a fresh workflow, I’ll report back on how that goes. Thank you so much for all your help and troubleshooting, I appreciate it so much!