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.
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.
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