APIs & Integrations

altaf
Membro

Nsufficient scopes were provided. Please contact the integrator

resolver

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 Avaliação positiva
1 Solução aceita
Dadams
Solução
HubSpot Employee
HubSpot Employee

Nsufficient scopes were provided. Please contact the integrator

resolver

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.

Exibir solução no post original

2 Respostas 2
Dadams
Solução
HubSpot Employee
HubSpot Employee

Nsufficient scopes were provided. Please contact the integrator

resolver

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
Membro

Nsufficient scopes were provided. Please contact the integrator

resolver

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

0 Avaliação positiva