After upgrading from 2.6.3 to 2.6.4 i started to receive an error whenever i load any workflow canvas (even a blank new one with no nodes)
Error pops up as:
Init Problem
There was a problem loading init date: credentialTypes.reduce is not a function
I have cleared browser cache and attempted an alternate browser as well and the error persists
What is the error message (if any)?
Init Problem
There was a problem loading init date: credentialTypes.reduce is not a function
Please share your workflow
(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.)
This error (credentialTypes.reduce is not a function) almost always means the backend is sending broken data to the frontend, and 9 times out of 10, it’s caused by a Community Node or Custom Node that isn’t compatible with the new version.
If you have any custom nodes installed (check your custom folder or package.json if you’re building a custom image), one of them likely has a bad credential definition that’s crashing the API response.
To fix it:
Check your Cloud Run logs. You’ll probably see a warning like “Error loading credential type…” right before the server starts.
If you can, try removing your custom nodes/community nodes and restarting.
Since you’re on Cloud Run, the quickest fix to get back online is just to change your Docker image tag back to 2.6.3 until you figure out which node is the culprit.
If my answer helped solve your question, would you mind marking it as the solution?
It’ll help others find it more easily—and I’d really appreciate it!
Since you cannot upgrade to a newer version and you are in a production environment, your best immediate move is to rollback.
Update your Cloud Run revision to pull the n8n/n8n:2.6.3 image tag instead of latest or 2.6.4.