Uh oh! The integration platform does not have permissions to request the set of scopes. Please contact the integration platform


#1

I am making web app using HubSpot API. Currently I am switching from the oAuth to oAuth2. I didn’t have any problem with old system, but with oAuth2 every time when user need to authorize access I get message:

Uh oh! The integration platform does not have permissions to request the set of scopes. Please contact the integration platform.

I tried with few accounts, but always get same message.

This is an example:

https://app.hubspot.com/oauth/authorize?client_id=xxxxxxxxxxxxxx&redirect_uri=http%3A%2F%2Flocalhost%3A4567%2Fauth&response_type=code&scopes=offline%2Bcontacts-rw%2Bevents-rw

Am I doing something wrong?


Uh oh! The integration platform does not have permissions to request the set of scopes
#2

Hi @Bojan_Milosavljevic

Oauth 2 uses different scopes that the previous version. The offline scope is automatically included, as you will always get a refresh token, and any scopes you specify will always be read and write. Also, scopes need to be separated with a space (either + or %20 will work). The full list of scopes is here:


#3

Hi David,

Thank you for fast response.


#4

Hi, @dadams - I am currently using OAuth2 for integration yet the same issue.

https://app.hubspot.com/oauth/authorize?client_id=xxxxxx&scope=reports%20social&redirect_uri=https://xxxxxxx

The account that I am testing it with does not contain any data and is connected to the account I am using as developer account. Let me know if you need more details.