APIs & Integrations

dineshrawat14
Member

Oauth2 Authentication Failed

Hi , I have given the permissions on my app :- contacts+content+reports+automation+transactional-email+business-intelligence. But Still I have get this error :- Insufficient scopes were provided. Please contact the integrator.

We have all the scopes checked. We pass all the scopes in the URL : https://app.hubspot.com/oauth/4707539/authorize?client_id=135d46e5-7650-4ce6-ae71-97655ae7717f&redir...

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Oauth2 Authentication Failed

Hi @Dinesh_rawat,

The 'Insufficient scopes were provided' error occurs when you have a scope checked off in your app settings that you're not including in your authorization URL. The best approach here is to uncheck all the scopes in your app settings, then only check the ones that you absolutely require. It's ok to request scopes in your authorization URL that are not checked off in your app settings, but you must request the scopes that are checked off.

0 Upvotes