Companies and contacts batch create/update issue

Hi!
I’ve found that in case of batch creation or update of comanies and contacts when only 1 record does not match some validation rules all the batch is failing with BadRequest(400) status code.
I expected that api will return MultiStatus(207), and process valid records from the batch

Hi @BohdanBaida ,

You are correct, and this can be quite annoying to deal with. However, there currently is no other solution for dealing with batch creation or updates.
The best thing you can do is post this as an idea on the ideas forum.

Thanks so much for your help! Then we will build our process according to that behavior

To ask for a clarification, does HubSpot still process the creation/update of all the other valid records even if the input to the batch API endpoint contains one or more invalid record?

I’ve submitted an idea here: https://community.hubspot.com/t5/HubSpot-Ideas/Improve-API-batch-errors/idi-p/997441
Please, upvote