AppFlow Hubspot Connection not updating the token

0

Hi,

I have setup the hubspot connection in the AppFlow with all required scopes configured as per https://docs.aws.amazon.com/appflow/latest/userguide/connectors-hubspot.html. After configuring the flow and running it, I have noticed that after some time the ingestion fails and I am getting 401 from HubSpot. The logs on the HubSpot show that the token timed out. To fix it I need to edit connection and re-submit userid and the secret.

AppFlow establishes the initial connection with ClientId and Secret however after the first token expired, AppFlow is not renewing it.

Denys
已提问 1 年前320 查看次数
1 回答
0

We're facing the same issue, the oauth2 request is missing two scopes required for the data import, these scopes are:

  • crm.objects.custom.read
  • crm.schemas.custom.read

both scopes are declared in the documentation (https://docs.aws.amazon.com/appflow/latest/userguide/connectors-hubspot.html) but missing from the URL for authorizing the application: https://app.hubspot.com/oauth/authorize?scope=oauth+crm.objects.companies.write+crm.objects.companies.read+crm.objects.deals.write+crm.objects.deals.read+crm.objects.owners.read+crm.objects.contacts.read+crm.objects.contacts.write+crm.lists.write+crm.lists.read+tickets+automation+e-commerce+forms+sales-email-read&response_type=code&prompt=consent&client_id=<redacted>&redirect_uri=https%3A%2F%2F<region>.console.aws.amazon.com%2Fappflow%2Foauth&state=<redacted>

Wonder if as a workaround we can create the connector, copy the url of the authorization window, add the missing scopes and complete Oauth2 with these missing scopes

已回答 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容