Intermittent Credential Error in mysql node: "Credential with ID XYZ does not exist"

Hey everyone,

I’m experiencing a strange issue with my n8n setup. Sometimes my MySQL nodes fail with the error:

Credential with ID “{id}” does not exist for type “mySql”.

However, other times, the exact same flow runs without any issues. The credentials haven’t been changed, and I’m not sure why this is happening.

What I’ve checked so far:

  • The credentials exist in Settings → Credentials
  • The Credential ID hasn’t changed (as far as I can tell)
  • No major changes in my n8n environment

Has anyone else run into this issue? Any insights or fixes would be greatly appreciated!

Thanks in advance! :slight_smile:

Could you provide your workflow json to see if anything is odd in the logic or if you are dynamically setting the credential ID and sometimes it may be wrong?

The funny thing is that the credentials are fixed… That’s why the error message is so extremely strange and it can’t really be.

Im also seeing this, Localhosted N8N on version 1.83.2, my Microsoft SharePoint OAuth2 API credential will connect or reconnect from the credential menu fine, But in a workflow I get Problem in node ‘GET web context‘

Credential with ID “Qo7da0I6hsUnGFev” does not exist for type “microsoftSharePointOAuth2Api”. regenerating a new Secret in the Azure app registration yields the same result, successful connection in the credential menu but the error in the HTTP node