# Error code ES\_PUT\_SETTING\_ERROR and ES\_INSERT\_DOCUMENT\_ERROR with AWS ElastichSearch

**URL:** <https://discuss.elastic.co/t/error-code-es-put-setting-error-and-es-insert-document-error-with-aws-elastichsearch/111000>\
**Category:** Elasticsearch\
**Created:** [December 11, 2017, 4:33am UTC](https://discuss.elastic.co/t/error-code-es-put-setting-error-and-es-insert-document-error-with-aws-elastichsearch/111000 "2017-12-11T04:33:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cao\_S\_n](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@Cao\_S\_n](https://discuss.elastic.co/u/Cao_S_n)\
**Post date:** [December 11, 2017, 4:33am UTC](https://discuss.elastic.co/t/error-code-es-put-setting-error-and-es-insert-document-error-with-aws-elastichsearch/111000/1 "2017-12-11T04:33:52Z")

</div>

Hi,

I often receive error code `ES_PUT_SETTING_ERROR` and `ES_INSERT_DOCUMENT_ERROR` when creating indexes and document.

**My Elasticsearch spec**

- AWS Elasticsearch
- Instances: 16
- Instance type: m4.4xlarge.elasticsearch
- Dedicated master: Enabled
- Volume size for each instance: 1000 GB =\> total : 16TB

I am using Elasticsearch SDK for PHP, and this is error message

> Message: , Line: 656, File: vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php

Does anyone have any advice on what the best way to achieve what I'm looking for would be?

Thanks,

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 11, 2017, 4:34am UTC](https://discuss.elastic.co/t/error-code-es-put-setting-error-and-es-insert-document-error-with-aws-elastichsearch/111000/2 "2017-12-11T04:34:30Z")

</div>

These are not standard Elasticsearch error responses, where exactly are you receiving them?

---

<div class="post-metadata">

**Author:** ![Cao\_S\_n](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@Cao\_S\_n](https://discuss.elastic.co/u/Cao_S_n)\
**Post date:** [December 11, 2017, 4:39am UTC](https://discuss.elastic.co/t/error-code-es-put-setting-error-and-es-insert-document-error-with-aws-elastichsearch/111000/3 "2017-12-11T04:39:16Z")

</div>

@warkolm

maybe because we are using ElastichSearch SDK, and that is the exception error code and message from SDK.

How about this one ?

> Message: {"error":{"root\_cause":[{"type":"process\_cluster\_event\_timeout\_exception","reason":"failed to process cluster event (create-index [esdata], cause [api]) within 30s"}],"type":"process\_cluster\_event\_timeout\_exception","reason":"failed to process cluster event (create-index [esdata], cause [api]) within 30s"},"status":503}, Line: 656, File: elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php

thanks so much

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 11, 2017, 5:25am UTC](https://discuss.elastic.co/t/error-code-es-put-setting-error-and-es-insert-document-error-with-aws-elastichsearch/111000/4 "2017-12-11T05:25:05Z")

</div>

Timeout on cluster...

You probably have some logs on nodes about this.

Out of curiosity, why did you choose AWS elasticsearch instead the official cloud offer?

---

<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:** [January 8, 2018, 5:25am UTC](https://discuss.elastic.co/t/error-code-es-put-setting-error-and-es-insert-document-error-with-aws-elastichsearch/111000/5 "2018-01-08T05:25:08Z")

</div>

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