{"status":"error","message":"This oauth-token (CM7vhJiDLRICAQEY8-fBAiDPiLEDKNisCzIZAKaKpWvVQwXiU-V8MMLdWvW-k5REYirQHjoPAAAAQQAAAAAAAAAAAAABQhkApoqla1JXFyNlV6Cm4G12XIQtMXYc7xgQ) does not have proper permissions! (requires all of [contacts-read])","correlationId":"508fe207-49fa-42af-bcfd-3aa33283fc82","requestId":"2be77c48db8263754df449b1e6289d3a"}
i used the token api to fetch the access token info, there is a contact scope, and totally the same as other successfuly access token:
Hi @eaglerayp, can you send me your HubID and the App ID that’s requesting these permissions? When I’ve seen this issue in the past, it’s because the account selected was a Developer Account without contacts rather than the test account or live production account.
Hi @eaglerayp, so sorry I don’t know how I missed that! Yes, so when I go to the HubID in question (5272563), this Account is a Developer Account. This inherently does not have access to Contacts. You’ll need to generate an access and refresh token for either a Test Account or a live production account so that your Oauth token can make requests to the proper tool. You likely just selected the wrong account when redirected to the page where you authorize the account for your application.
requests to the proper tool. You likely just selected the wrong account when redirected to the page where you authorize the account for your application.
Okay, that’s solved. This is because the authorized by the wrong account type. Thanks!
I am trying to use the API Oauth-token, currently I am able to get the access token for to scope contact and content however when I am trying to query the scopes I am getting the following error
This oauth-token (xxxxxxxxxxxx) does not have proper permissions! (requires all of [contacts-read])",
Could you please advice what exacltly we need to do. Also it seems some of the scopes are not able to query getting
“This hub doesnt’t have access to some HubSpot features that are required by this integration. Please contact the integrator”
Would you be able to send instruction of what we need to do to solve the issue?