Batch API doesn't return conflict failures?


#1

It appears when using the batch api to update contacts by vid, if a conflict occurs, it is a silent failure. By silent failure I mean, I don’t receive a 4xx HTTP status from the interaction, so it looks as if it worked, but in Hubspot, checking the record shows no update. If I perform a singular update with the same properties payload, I get a 409 Conflict as I’d expect. I know the batch update code is working because when I generate updates with no conflicts, I see the changes take effect in the Hubspot web interface.

Is this expected behavior? If so, how do you detect conflicts that need remedy when using the batch API?