Insufficient Scopes were Provided

Highlighted
New Member

Hi Experts,
I am getting message like “Insufficient Scopes were Provided. Please contact the Integrator” while I am hitting the authorization url like below
https://app.hubspot.com/oauth/authorize?client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&scope=contact...

I have created an app and I am passing the client id, scope and redirect url.

Let me know if I am missing anything here.

Reply
0 Upvotes
5 Replies 5
Highlighted
HubSpot Employee

@Basha On your app what boxes do you have checked off?

Reply
0 Upvotes
Highlighted
New Member

Hi,

Please find the below.

I have selected all the above mentioned options and passing contacts as scope in the authorization url

Reply
0 Upvotes
Highlighted
HubSpot Employee

@Basha Then you must include all of those scopes in your call. The call you pasted above you only requested the contacts and automation scopes.

Reply
0 Upvotes
Highlighted
New Member

Hi,

Thanks for the reply. Now I am getting message “An Invalid scope name was provided”. I tried passing different combinations. I got either Insufficient scope provided or Invalid Scope provided messages. But not successful yet.

https://app.hubspot.com/oauth/authorize?client_id=XXXXXXXXXXXXXXXX&scope=contacts%20content%20report...

image

Reply
0 Upvotes
Highlighted
HubSpot Employee

@Basha there is no workflows scope. It is called automation. Check out here for a full list of them.

Reply
0 Upvotes