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

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

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!

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