# Batch Failure

**URL:** <https://community.hubspot.com/t/batch-failure/64418>\
**Category:** APIs & Integrations\
**Created:** [September 3, 2022, 7:52am UTC](https://community.hubspot.com/t/batch-failure/64418 "2022-09-03T07:52:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![STurbadkar4](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@STurbadkar4](https://community.hubspot.com/u/STurbadkar4)\
**Post date:** [September 3, 2022, 7:52am UTC](https://community.hubspot.com/t/batch-failure/64418/1 "2022-09-03T07:52:13Z")

</div>

How do I remove failure contact from the batch and create other contacts successfully from the batch?

I am using batched api to create and update contact. Suppose one record is invalid then whole batch fails. How should I remove invalid data from the batch? I want to execute remaining batch records create or update it.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 6, 2022, 3:09pm UTC](https://community.hubspot.com/t/batch-failure/64418/2 "2022-09-06T15:09:02Z")

</div>

@JBeatty ,any tips you can provide here?
