Skip to content

Commit 67213ed

Browse files
authored
Update index.md
1 parent 515b13d commit 67213ed

File tree

1 file changed

+3
-0
lines changed
  • src/connections/destinations/catalog/actions-hubspot-cloud

1 file changed

+3
-0
lines changed

src/connections/destinations/catalog/actions-hubspot-cloud/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ Association Label | Select an association label between both the object types. F
6767

6868
## FAQ and troubleshooting
6969

70+
### Why am I receiving a, "Contact already exists" error?
71+
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.
72+
7073
### How do I send other standard objects to HubSpot?
7174
Segment provides prebuilt mappings for contacts and companies. If there are other standard objects you would like to create records in, please use the **Create Custom Object Record** action. For example, to create a deal in HubSpot, add a mapping for Create Custom Object Record, set up your Event Trigger criteria, and input a literal string of "deals" as the Object Type. You can use the Properties object to add fields that are in the [deals object](https://developers.hubspot.com/docs/api/crm/deals){:target="_blank"}, such as `dealname` and `dealstage`. The same can be done with other object types (for example, tickets, quotes, etc). Ending fields that are to go to HubSpot outside of the properties object isn't supported. This includes sending [associations](https://developers.hubspot.com/docs/api/crm/associations){:target="_blank"}. Please note, Segment only supports creating new records in these cases; updates to existing records are only supported for contacts and companies.
7275

0 commit comments

Comments
 (0)