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
질문됨 일 년 전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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠