Integration Permissions

contacts

#1

Hello,

i am developer and my client is facing this type of issue,

-> Request for Integration Permissions
-> This hub doesn't have access to some HubSpot features that are required by this integration. Please contact the integrator.

--> if setup any web hooks or hubspot setup/configure issue, then also suggest.

Please check and Suggest me ASAP.

This is the my code::
var options = {
method: 'POST',
url: 'https://api.hubapi.com/oauth/v1/token',
headers:
{
'content-type': 'application/x-www-form-urlencoded',
accept: 'application/json'
},
form:
{
grant_type: 'authorization_code',
client_id: this.clientid,
client_secret: this.clientsec,
scope:'contacts%20automation%20workflows',
redirect_uri: redirect,
code: code
}
};

it works fine with our test account. However, when a client of ours tries to authorize with OAuth and their HubSpot account, they always get this message:

This hub doesn’t have access to some HubSpot features that are required by this integration. Please contact the integrator.


Contact Sync Issue
#3

Hi @Ankit,

Apologies for the delayed response. The team has been out of office for the Thanksgiving holiday here in the United States.

This error suggests that your client's account does not have access to workflows (Marketing Hub Professional or Enterprise). What is their Hub ID?

I have also noticed that you pass three required scopes:

  • contacts
  • automation
  • workflows

automation is the scope for workflows. There is no scope with the name workflows, so that should be removed (i.e. scope:'contacts%20automation').


#4

okay, Thanks for advice it's working well.


#5

Glad to hear it, @Ankit!