-Based on the logic in the Upsert Contact action, an attempt is first made to update an existing contact, if a contact is not found, then another attempt will be made to create the contact. This may result in three requests being made to the HubSpot API. For exmaple, the Expired Authentication error, is because the token was expired on the first request, we refreshed the token and then made the request again. The next error message may say, "resource not found". On this request, the contact was not found, so we then proceeded with the second request to attempt to create the contact. This final request failed because of a `Conflict` error stating that the contact already exists. Since there is another mapping that is triggered, by the time the Upsert Contact Action gets to the final request to create the contact, the contact has already been created as a result of the Custom Behavioral Event Action being triggered as well. And thus, the Error gets surfaced in the event delivery tab in Segment's UI.
0 commit comments