APIs & Integrations

altaf
Membre

Nsufficient scopes were provided. Please contact the integrator

Résolue

Hi,

I’m trying to authenticate user by this url
https://app.hubspot.com/oauth/authorize?client_id=xxxxxxxx-5a6c-446e-ab4f-948093ec69a2&client_secret...

and I am getting this error can anyone tell what I’m doing wrong?

Request for Integration Permissions

Uh oh!

Insufficient scopes were provided. Please contact the integrator.

0 Votes
1 Solution acceptée
Dadams
Solution
HubSpot Employee
HubSpot Employee

Nsufficient scopes were provided. Please contact the integrator

Résolue

Hi @altaf

That error usually means that the scopes you set up for the app in the app settings don’t match the scopes you’re requesting in the scope= parameter for the authorize URL. Any scopes that you have selected in the app settings are considered required scopes, so you’d need to include everything you have selected in the scope= parameter.

If your app only requires the contacts, reports, and files scopes, only those three should be checked in the app settings.

Voir la solution dans l'envoi d'origine

2 Réponses
Dadams
Solution
HubSpot Employee
HubSpot Employee

Nsufficient scopes were provided. Please contact the integrator

Résolue

Hi @altaf

That error usually means that the scopes you set up for the app in the app settings don’t match the scopes you’re requesting in the scope= parameter for the authorize URL. Any scopes that you have selected in the app settings are considered required scopes, so you’d need to include everything you have selected in the scope= parameter.

If your app only requires the contacts, reports, and files scopes, only those three should be checked in the app settings.

altaf
Membre

Nsufficient scopes were provided. Please contact the integrator

Résolue

Thank you @dadams . providing all scopes fixed the issue.

0 Votes