# How can I see if there is an exception in the delete operation?

**URL:** <https://discuss.elastic.co/t/how-can-i-see-if-there-is-an-exception-in-the-delete-operation/3412>\
**Category:** Elasticsearch\
**Created:** [October 6, 2010, 8:25am UTC](https://discuss.elastic.co/t/how-can-i-see-if-there-is-an-exception-in-the-delete-operation/3412 "2010-10-06T08:25:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shelly](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Shelly](https://discuss.elastic.co/u/Shelly)\
**Post date:** [October 6, 2010, 8:25am UTC](https://discuss.elastic.co/t/how-can-i-see-if-there-is-an-exception-in-the-delete-operation/3412/1 "2010-10-06T08:25:33Z")

</div>

Is there a way to know when the deletion operation is failed? I don't see that the client delete operation throws any exception.  
Does it make this operation via a REST call? cause it says in the documentation that there is no indication for a failure on that: "_The delete operation will always return the the above result, even if the document did not exists. This is done for performance reasons_."

Thanks 🙂

---

<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:** [July 6, 2017, 4:18am UTC](https://discuss.elastic.co/t/how-can-i-see-if-there-is-an-exception-in-the-delete-operation/3412/2 "2017-07-06T04:18:23Z")

</div>


