Can't connect n8n with HubSpot: "Authorization failed because the provided scopes are missing", but they are placed

Hi community,

I’m trying to integrate HubSpot with n8n using OAuth2, but I keep getting this error, even though I’ve already added the scopes the platform requires:

“Couldn’t complete the connection. Authorization failed because the provided scopes are missing [crm.schemas.companies.write, crm.schemas.contacts.write, crm.schemas.deals.write, crm.objects.leads.read, crm.objects.leads.write], which are required for the app to function. Please contact the app developer for assistance.”

WHAT I’VE ALREADY DONE STEP BY STEP

  1. Added the required scopes in the HubSpot app:

    • crm.schemas.companies.write

    • crm.schemas.contacts.write

    • crm.schemas.deals.write

    • crm.objects.leads.read

    • crm.objects.leads.write

  2. Also added these additional ones (read, write, and some extras suggested by forums and documentation):

    • oauth

    • forms

    • tickets

    • crm.objects.companies.read

    • crm.objects.companies.write

    • crm.schemas.companies.read

    • crm.schemas.contacts.read

    • crm.objects.contacts.read

    • crm.objects.contacts.write

    • crm.objects.deals.read

    • crm.objects.deals.write

    • crm.schemas.deals.read

    • crm.objects.owners.read

    • crm.lists.write

  3. Saved changes in the HubSpot app, closed and reopened the configuration to confirm the scopes were there.

  4. Removed any previous connections (“Connected Apps”) and started everything from scratch.

  5. Verified the redirect URI: It’s exactly the same in both n8n and HubSpot.

  6. Recreated the HubSpot credential in n8n, pasting the same scopes.

  7. Authorized the app from n8n using a HubSpot account with admin permissions.

  8. Tested in different browsers, cleared cache/cookies, and also tried creating the app as a “Private App”.

PROBLEM

Despite all of the above, I keep receiving the same missing scopes error and can’t proceed with the integration. In the app configuration, all the scopes are already showing, but HubSpot/n8n still doesn’t recognize them during authorization.

QUESTIONS FOR THE COMMUNITY

  • Has anyone successfully integrated n8n with HubSpot using these granular “write” and “leads” scopes?

  • Could this be a limitation based on HubSpot account type (I’m using [specify if it’s free, starter, developer, etc.])?

  • Is there a hidden step to enable these scopes, or a known bug in n8n/HubSpot with these permissions?

  • Any tricks to force a scope refresh or clear the app cache in HubSpot?

Any suggestions, experiences, or solutions you have would be greatly appreciated. If you need screenshots of the configuration or more details, I can upload them.

Thanks in advance!

Same problem, anyone could find the solution for this?

Checkout solution for this issue here https://youtu.be/KzP52kRsRrk

1 Like