APIs & Integrations

Br0k3nS0u1
Member

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

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!

 

Captura de pantalla 2025-10-13 175201.png

Captura de pantalla 2025-10-13 175224.png

Br0k3nS0u1_0-1760399681891.png

0 Upvotes
4 Replies 4
JDim
Member

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

I am also seeing same issues. 

0 Upvotes
Marcel-rockrose
Member

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

I'm having the same issue, but I believe the problem is on the n8n end and it's since Hubspot deprecated their API key. The problem is that n8n is sending the wrong URL for authentication to Hubspot but there is no way to fix the URL on the n8n side. 

You can tell this because when testing the URL that Hubspot provides in the Public App setup page, it works to open the authentication page. If we had a way to correct the URL on n8n, then this would be solved.

0 Upvotes
MShahdoost
Member

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

Same problem. any updates?

0 Upvotes
chighsmith
Community Manager
Community Manager

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

Hi @Br0k3nS0u1,

Thank you for posting to the Community!

I understand that you are having some trouble integrating with the n8n integration using OAuth2. I'd like to tag in some Champions to see if they have experienced any similar errors when integrating apps. 

Hi @miljkovicmisa and @Teun Have either of you seen this before? If so, do you have any tips for @Br0k3nS0u1?

Thank you!

Cassie, Community Manager

 

 





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes