Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FAQ for Common Error in HubSpot Cloud Mode #6244

Merged
merged 4 commits into from
Dec 13, 2024

Conversation

courtneyga
Copy link
Contributor

Proposed changes

Customers who use HubSpot Cloud Mode and have an “Upsert Contact” mapping and “CBE” mapping, receive a contact already exists error with two other responses, see below:

Response 1:

"category": "EXPIRED_AUTHENTICATION",
"message": "The OAuth token used to make this call expired 7 second(s) ago.",
"statusCode": 401,
"statusMessage": "Unauthorized"

Reason for Error: Because the token was expired on the first request, we refreshed the token and then made the request again, see below.

Response 2:

"message": "resource not found",
"statusCode": 404,
"statusMessage": "Not Found"

Reason for Error: On this request, the contact was not found, so we then proceeded with the second request to attempt to create the contact. 

Response 3:

"category": "CONFLICT",
"message": "Contact already exists. Existing ID: 11430351",
"statusCode": 409,
"statusMessage": "Conflict"

Reason for Error: This final request failed because of a Conflict error stating that the contact already exists. This is somewhat counterintuitive, being that when we first tried to update an existing contact, the response indicated that the contact did not exist. Read more from HubSpot here.

Merge timing

Related issues (optional)

@courtneyga courtneyga marked this pull request as ready for review November 21, 2024 17:28
@courtneyga courtneyga requested a review from a team as a code owner November 21, 2024 17:28
stayseesong
stayseesong previously approved these changes Dec 2, 2024
@stayseesong stayseesong merged commit 0d99e48 into develop Dec 13, 2024
5 checks passed
@stayseesong stayseesong deleted the courtneyga-patch-25 branch December 13, 2024 23:15
Copy link
Contributor

Thank you for your contribution! Your pull request is merged, but may take a day or two to appear on the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants