APIs & Integrations

Not applicable

How do I get the "additional details" of a failed Batch Update

When sending contacts to the “create or update batch” endpoint, we know that an entire batch will fail if just one contact in the batch has a bad email. But from the error in the batch, is it possible to detect which one it failed on?

In the docs it says:
When using this endpoint, please keep in mind that any errors with a single contact in your batch will prevent the entire batch from processing. If this happens, we’ll return a 400 response with additional details as to the cause" Would those details even say which email it choked on?

Where exactly are those “additional details”? Are they in the headers of the response? Or somewhere else?
Thanks!

0 Upvotes
2 Replies 2
Not applicable

How do I get the "additional details" of a failed Batch Update

Excellent, thanks. I do see the details in the body, and it does include the offending email – Superb. Thanks!

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

How do I get the "additional details" of a failed Batch Update

Hi @tajulhuque

Any details about the error will be included in the body of the response.

0 Upvotes