# Using save in elastic\_search dsl results in 504 gateway timeout error

**URL:** <https://discuss.elastic.co/t/using-save-in-elastic-search-dsl-results-in-504-gateway-timeout-error/164026>\
**Category:** Elasticsearch\
**Created:** [January 13, 2019, 9:34am UTC](https://discuss.elastic.co/t/using-save-in-elastic-search-dsl-results-in-504-gateway-timeout-error/164026 "2019-01-13T09:34:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rehabreda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rehabreda/32/39729_2.png) [@rehabreda](https://discuss.elastic.co/u/rehabreda)\
**Post date:** [January 13, 2019, 9:34am UTC](https://discuss.elastic.co/t/using-save-in-elastic-search-dsl-results-in-504-gateway-timeout-error/164026/1 "2019-01-13T09:34:30Z")

</div>

hi i am using elasticsearch dsl to save data  
it may succeed in saving 10 records for example and in the record #11 it fails and it show 504 gateway timeout error i don't know how to solve this !

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 13, 2019, 11:27am UTC](https://discuss.elastic.co/t/using-save-in-elastic-search-dsl-results-in-504-gateway-timeout-error/164026/2 "2019-01-13T11:27:34Z")

</div>

You haven't really provided a lot of information that will allow someone to help you. Try answering the following questions:

- Which version of Elasticsearch are you using?
- What does your cluster configuration look like?
- Do you have any non-default settings or plugins?
- Is there anything in the Elasticsearch logs?
- Can you show the data and mappings that cause this through e.g. a recreation script?

---

<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:** [February 10, 2019, 11:30am UTC](https://discuss.elastic.co/t/using-save-in-elastic-search-dsl-results-in-504-gateway-timeout-error/164026/3 "2019-02-10T11:30:07Z")

</div>

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