HubSpot Ideas

Sachavskyi

Improve API batch errors

I'm trying to use HubSpot batch API and have the next problem: when I send 3 contacts to https://api.hubapi.com/crm/v3/objects/contact/batch/create and if one of these contacts has a problem - HubSpot response format is like this:
{
"status": "error",
"message": "Property values were not valid: ......."
"correlationId": "2c2b03e3-5692-4261-b462-0bea1952e562",
"category": "VALIDATION_ERROR"
}
Why the response format is not like this:
[
{
"status": "error",
....
},
{
"id": "4136413868",
....
},
{
"id": "4136413870",
....
}
]
3 Replies
wtx-signalfire
Participant

I am also in favor of this proposal

OGrigorov
Member

Agreed. This is an annoying problem causing a lot of issues for customers using our Hubspot integration

Shriki
Member

The current API is very problematic. You should support a simple batch upsert operation.

Requiring to go over all the batch items and check if they exist or not is super inefficient!