# NodeJS client: retries

**URL:** <https://discuss.elastic.co/t/nodejs-client-retries/32840>\
**Category:** Elasticsearch\
**Created:** [October 23, 2015, 10:11am UTC](https://discuss.elastic.co/t/nodejs-client-retries/32840 "2015-10-23T10:11:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![willyaranda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willyaranda/32/5195_2.png) [@willyaranda](https://discuss.elastic.co/u/willyaranda)\
**Post date:** [October 23, 2015, 10:11am UTC](https://discuss.elastic.co/t/nodejs-client-retries/32840/1 "2015-10-23T10:11:15Z")

</div>

Hi there!

I have a simple question. Does the ES client for Node retries the failed requests (for example, timeout, 500, or other HTTP error), for bulk requests? Or it just fails, throws the error on the (err, res) callback and it's done?

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:** [July 5, 2017, 11:43pm UTC](https://discuss.elastic.co/t/nodejs-client-retries/32840/2 "2017-07-05T23:43:05Z")

</div>


