APIs & Integrations

kalleericson
Member

CRM scope access

So I’ve finally finished my app, but when I’m trying to deploy it I get auth errors.
The problem seems to be that I can’t seem to figure out how to manage the scopes to get an app to unlock the CRM, but none of the Marketing functionality.

From what I can gather, the CRM has access to the scopes contacts, timeline & files.
I config my app to request access to:

When I then try to auth my app, I get either

You do not have the correct role to grant these permissions. Please contact your administrator.
, or
Insufficient scopes were provided. Please contact the integrator.

Since I am the Account Administrator, I suppose that the first problem is related to the divide between CRM/Marketing?

My request is:

https://app.hubspot.com/oauth/HUB_ID/authorize?client_id=CLIENT_ID&scope=contacts%20timeline%20files&redirect_uri=REDIRECT

After too many hours of trying to navigate, I surrender as the village idiot and cries for help.
How do I setup my app and ask for scopes that allows me to use the CRM, but not Marketing?

Thank you!

0 Upvotes
1 Reply 1
Dadams
HubSpot Employee
HubSpot Employee

CRM scope access

@kalleericson can you message me with the client_id you were using and the Hub ID that you were seeing this with?

0 Upvotes