HTTP 400
{
"status": "error",
"message": "Contact creates with Associations not supported.",
"errorTokens": {
"failedRequests": [
"This failed createObjectRequest is of type contact and contains the following associations: [AssociationSpecAndObjectIds{associationSpec=AssociationSpec{associationCategory=HUBSPOT_DEFINED, associationTypeId=1}, objectIds=[10202231595]}]"
]
},
"correlationId": "3ec31fe7-17cd-4e49-ad93-6e150f2f8202"
}
I'll take your example and mine, and get this to the team that owns the dev docs. I agree, this is confusing to offer an option that is explicitly called out as not possible in the accompanying documentation:
Please note: you cannot create a contact and associate it with a record or activity in the same request. To associate your contact with other records or activities, create the contact, then update the contact or create an association via the associations API.
Thanks again! — Jaycee
HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates. Learn More.
Did you know that the Community is available in other languages? Join regional conversations by changing your language settings !
HTTP 400
{
"status": "error",
"message": "Contact creates with Associations not supported.",
"errorTokens": {
"failedRequests": [
"This failed createObjectRequest is of type contact and contains the following associations: [AssociationSpecAndObjectIds{associationSpec=AssociationSpec{associationCategory=HUBSPOT_DEFINED, associationTypeId=1}, objectIds=[10202231595]}]"
]
},
"correlationId": "3ec31fe7-17cd-4e49-ad93-6e150f2f8202"
}
I'll take your example and mine, and get this to the team that owns the dev docs. I agree, this is confusing to offer an option that is explicitly called out as not possible in the accompanying documentation:
Please note: you cannot create a contact and associate it with a record or activity in the same request. To associate your contact with other records or activities, create the contact, then update the contact or create an association via the associations API.
Thanks again! — Jaycee
HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates. Learn More.
Did you know that the Community is available in other languages? Join regional conversations by changing your language settings !
Hello, I am also facing same issue. So, Is the end point defination is wrong? I still confused, do we create association to the new user creation. If not please remove it from the documentation