# Delete a document with an empty \_id?

**URL:** https://discuss.elastic.co/t/delete-a-document-with-an-empty-id/150696
**Category:** Elasticsearch
**Created:** [October 2, 2018, 12:24pm UTC](https://discuss.elastic.co/t/delete-a-document-with-an-empty-id/150696 "2018-10-02T12:24:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![stuayre](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@stuayre](https://discuss.elastic.co/u/stuayre)
#### Post date: [October 2, 2018, 12:24pm UTC](https://discuss.elastic.co/t/delete-a-document-with-an-empty-id/150696/1 "2018-10-02T12:24:05Z")

</div>

Somehow a record has entered elastic search with an empty \_id

I think this happened through the \_bulk api,

> <https://github.com/elastic/elasticsearch/issues/24116>

how do I delete a document with an empty \_id?

---

<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: [October 30, 2018, 12:24pm UTC](https://discuss.elastic.co/t/delete-a-document-with-an-empty-id/150696/2 "2018-10-30T12:24:15Z")

</div>

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