# What value is assigned to the \`failures\` key in the REINDEX API response?

**URL:** <https://discuss.elastic.co/t/what-value-is-assigned-to-the-failures-key-in-the-reindex-api-response/76574>\
**Category:** Elasticsearch\
**Created:** [February 27, 2017, 5:33am UTC](https://discuss.elastic.co/t/what-value-is-assigned-to-the-failures-key-in-the-reindex-api-response/76574 "2017-02-27T05:33:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![soraiyu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/soraiyu/32/15420_2.png) [@soraiyu](https://discuss.elastic.co/u/soraiyu)\
**Post date:** [February 27, 2017, 5:33am UTC](https://discuss.elastic.co/t/what-value-is-assigned-to-the-failures-key-in-the-reindex-api-response/76574/1 "2017-02-27T05:33:11Z")

</div>

I am implementing an error message when using the REINDEX API. I would like to use the value of the response, but the value of failures key is not listed in the document.

[https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#docs-reindex-response-body](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#docs-reindex-response-body)

I have 2 questions.

1. What value is assigned to the failures key?
2. When does Reindex API fail?

I hope that's clear enough. 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:** [March 27, 2017, 5:33am UTC](https://discuss.elastic.co/t/what-value-is-assigned-to-the-failures-key-in-the-reindex-api-response/76574/2 "2017-03-27T05:33:17Z")

</div>

Closed on March 27, 2017, 5:33am UTC

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