Credentials in different workflows are changed without changes made

Describe the problem/error/question

If i change the credentials of for example a workflow that is using a WordPress application token as basic auth it changes the credentials in all my other workflows as well (for example a newsletter flow where a MailChimp API is used as basic auth). This has been the case for a while now, so need to change credentials everytime i want to use/execute a different workflow.

What is the error message (if any)?

Autorization failed, please check your credentials, which makes sense since it has changed the credentials of workflows i have not made changes to but are changed when i change any workflow basic auth.

Please share your workflow

https://community.n8n.io/u/activate-account/68413acfed0732a1eb34c35fe5bb1c3c

Share the output returned by the last node

Autorization failed, please check your credentials

Information on your n8n setup

  • n8n version: n8n@2.25.7
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: Windows 11

Hi @elaxxl, this isn’t a bug, the credentials aren’t changing on their own. n8n stores each credential as a single shared object, and every node that selects it points at that same one. You’re reusing one “Basic Auth” credential for both WordPress and MailChimp and editing it in place, so changing it for the WordPress flow overwrites what the MailChimp node uses, hence the auth failure.

Fix: give each service its own credential. In the MailChimp node’s credential dropdown pick “Create New Credential” (don’t edit the existing one), name it e.g. “MailChimp Basic Auth” with its own values, and do the same for WordPress. Once each node has its own, editing one never touches the other.

Thanx, makes sense haha.