# Possible error codes, from elastic server

**URL:** <https://discuss.elastic.co/t/possible-error-codes-from-elastic-server/198294>\
**Category:** Elasticsearch\
**Created:** [September 5, 2019, 4:40pm UTC](https://discuss.elastic.co/t/possible-error-codes-from-elastic-server/198294 "2019-09-05T16:40:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![berryma4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/berryma4/32/53667_2.png) [@berryma4](https://discuss.elastic.co/u/berryma4)\
**Post date:** [September 5, 2019, 4:40pm UTC](https://discuss.elastic.co/t/possible-error-codes-from-elastic-server/198294/1 "2019-09-05T16:40:35Z")

</div>

Hello,

I can't seem to find in the documentation, a list of possible error returns when using the java high level client (or, from using rest directly). A pointer to this information would be great (using version 7.2 elastic)

Thank you,  
Eric

---

<div class="post-metadata">

**Author:** ![berryma4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/berryma4/32/53667_2.png) [@berryma4](https://discuss.elastic.co/u/berryma4)\
**Post date:** [September 5, 2019, 7:41pm UTC](https://discuss.elastic.co/t/possible-error-codes-from-elastic-server/198294/2 "2019-09-05T19:41:35Z")

</div>

this is what I was looking for:

> <https://github.com/elastic/elasticsearch/blob/7.2/server/src/main/java/org/elasticsearch/rest/RestStatus.java>

Thank you!

---

<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 3, 2019, 7:41pm UTC](https://discuss.elastic.co/t/possible-error-codes-from-elastic-server/198294/3 "2019-10-03T19:41:35Z")

</div>

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