APIs & Integrations

altaf
Mitglied

Nsufficient scopes were provided. Please contact the integrator

lösung

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 Upvotes
1 Akzeptierte Lösung
Dadams
Lösung
HubSpot Employee
HubSpot Employee

Nsufficient scopes were provided. Please contact the integrator

lösung

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.

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
Dadams
Lösung
HubSpot Employee
HubSpot Employee

Nsufficient scopes were provided. Please contact the integrator

lösung

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
Mitglied

Nsufficient scopes were provided. Please contact the integrator

lösung

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

0 Upvotes