Skip to content

Commit 0d99e48

Browse files
authored
Merge pull request #6244 from segmentio/courtneyga-patch-25
Add FAQ for Common Error in HubSpot Cloud Mode
2 parents c22fba7 + eae2dde commit 0d99e48

File tree

1 file changed

+4
-1
lines changed
  • src/connections/destinations/catalog/actions-hubspot-cloud

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ Search Fields to associate | This finds a unique record of custom object based
9595
ObjectType to associate | To associate the newly created and updated custom object record with another object type, select the object type you want it to be associated with.
9696
Association Label | Select an association label between both the object types. From the HubSpot Dashboard, you can create associations between any type of object. To create an association label: <br>1. Log in to the [HubSpot Dashboard](https://app.hubspot.com/){:target="_blank"}. <br>2. Go to **Data Management > Objects > Custom Objects**. <br>3. Go to the **Associations** tab and click **Create association label**.
9797

98-
## FAQ and troubleshooting
98+
## FAQs and troubleshooting
99+
100+
### Why am I receiving a `Contact already exists` error?
101+
This error only applies to integrations with 2 mappings that can create profiles in HubSpot. Initially, the Upsert Contact action seeks to update an existing contact. If no contact is found, a subsequent attempt is made to create a new contact, potentially leading to 3 separate HubSpot API requests. For example, an `Expired Authentication` error may occur if the token expires on the initial request, prompting a token refresh and a subsequent request. If the next error indicates `resource not found`, it means the contact wasn't located, leading to a second attempt to create the contact. However, this attempt might fail due to a `Conflict` error, suggesting the contact already exists. This situation can arise if you activate another mapping, which causes the contact to be created by the time the Upsert Contact Action attempts its final contact creation request, due to the Custom Behavioral Event Action being triggered as well.
99102

100103
### How do I send other standard objects to HubSpot?
101104
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.

0 commit comments

Comments
 (0)