Salesforce nodes just spin indefinitely

Describe the problem/error/question

We’ve been having tremendous issues with Salesforce OAuth. Initially, we were getting a generic error but then managed to have one of our Salesforce Admins set up the credential. Though, now despite using that credential, our Salesforce nodes just keep infinitely spinning.

We tried a simple “Get an account” node as well as Search node with SOQL query, but both spin indefinitely.

We are kind of stuck now and don’t know how to resolve it. We considered going down the JWT path, but that seems rather complex and we might not have the resources to properly set that up available right now.

What is the error message (if any)?

None.

Please share your workflow

Information on your n8n setup

  • n8n version: 2.3.5
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
  • Operating system: MacOS

Hi, Janko!

This type of issue usually means the Salesforce OAuth credential is valid but not actually allowed to make API calls.

Please check:

  1. Re-authenticate the Salesforce credential in n8n

  2. Ensure the Connected App has the api and refresh_token OAuth scopes

  3. Verify the Salesforce user has API Enabled permission

  4. Check session and IP restrictions in Salesforce

When OAuth is accepted but API access is blocked, Salesforce nodes often spin indefinitely with no error.

JWT is not required to fix this, only if OAuth is restricted by company policies.

Hi @Tamy!

Thank you for the speedy reply.

I am not able to access the Connected App to manage its policies because it is not installed. I can see we have also used Clay which is not installed and works as it should, and if I am not mistaken we also used the standard OAuth when authorising it.

Screenshot 2026-01-21 at 16.41.41

I was under the impression that the connected app needs to be set up from scratch only if we are running a n8n self-hosted instance, which we are not.

Would the next step here be that we install the app so that we can manage the OAuth scopes?

Hi @janko ,

I believe that this was already answered in the following threads:

So, for n8n Cloud:

  • You do not create your own connected app for n8n.

  • But your Microsoft admin does need to install/allow the existing n8n.io app in Entra ID if it isn’t already, so that you can manage/approve the required OAuth scopes and the connection can succeed.

Best,
saru