Oauth 2: getting do not have the correct role to grant these permissions. + error


Getting following error:
Uh oh!
You do not have the correct role to grant these permissions. Please contact your administrator.

after Redirecting to


Have checked ‘contacts’ in the app settings, all other are unchecked.

Have created an app as given in the doc with app id 57186 and hub id: 4056224. Trying to test oauth2 authentication.

Why i get this error???


Hi @Romit_Bhandari,

The portal with Hub ID 4056224 is a developer portal, which doesn’t have access to the contacts scope. You’ll want to select a test portal or a production Marketing/CRM portal to install the app in instead:


Creating the test portal, gives only API key in the integrations section. I am looking for oauth2 for which i require key and secret both. How do i get that.


Hi @Romit_Bhandari,

You need a test portal because your developer portal doesn’t have access to the scopes you’re requesting, but you still need to use the client id and client secret from the app in your developer portal. The only thing that should change is that when you reach the account selection screen, you should select your test portal.