Permissions errors involving scopes I can't find in the documentation


#1

I am receiving the following permissions errors among others when trying to access the relevant data. The account I am using has Super Admin permissions.

EmailCampaigns: email-access
ContactLists: contacts-lists-access, contacts-lists-read
Comments: blog-access
SocialMediaChannels: social-access

Here is a sample error from the driver I am using:

This oauth-token () does not have proper permissions! (requires all of [content-access])

Some of these scopes don't seem to be detailed here as well: https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes.

Any help would be appreciated.


#2

Hi @andyg,

It looks like those error messages are listing the internal permission that's missing. Each of those corresponds to a documented scope; it's easier to figure out why your OAuth token is missing permissions by starting there. In order to access the COS APIs, for example, your app must request the content scope. Can you give me more details on the scopes you're requesting when authorizing your app?