# BulkAllResponse and BulkResponse is not giving failed records

**URL:** <https://discuss.elastic.co/t/bulkallresponse-and-bulkresponse-is-not-giving-failed-records/303501>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [April 28, 2022, 10:46am UTC](https://discuss.elastic.co/t/bulkallresponse-and-bulkresponse-is-not-giving-failed-records/303501 "2022-04-28T10:46:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ansuman\_Satapathy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ansuman_satapathy/32/104986_2.png) [@Ansuman\_Satapathy](https://discuss.elastic.co/u/Ansuman_Satapathy)\
**Post date:** [April 28, 2022, 10:46am UTC](https://discuss.elastic.co/t/bulkallresponse-and-bulkresponse-is-not-giving-failed-records/303501/1 "2022-04-28T10:46:04Z")

</div>

I am using a NEST package 7.8.2 and trying to use BulkAll method to insert records batchwiseinto Elasticsearch via C#. When I am disconnecting the Elastic Service during the insert operation I don't see the failed items in the "ItemsWithErrors" property . Moreover BulkResponses and BulkAllResponses just give me the valid responses or a blanket response of 200 or 400 but without the items that got inserted or failed into the elastic. How can I determine that ? Even the "onerror" method does not give us those details

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 26, 2022, 10:46am UTC](https://discuss.elastic.co/t/bulkallresponse-and-bulkresponse-is-not-giving-failed-records/303501/2 "2022-05-26T10:46:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
