Insufficient Scopes were Provided


#1

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=contacts%20automation&redirect_uri=https://www.hubspot.com/

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.


Ecom pipeline issue
#2

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


#3

Hi,

Please find the below.

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


#4

@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.


#5

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%20reports%20social%20workflows%20files%20hubdb%20timeline%20forms%20transactional-email&redirect_uri=https://www.hubspot.com

image


#6

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