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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ