# Elasticsearch - retrying failed action with response code: 503

**URL:** https://discuss.elastic.co/t/elasticsearch-retrying-failed-action-with-response-code-503/149036
**Category:** Elasticsearch
**Created:** [September 19, 2018, 1:19am UTC](https://discuss.elastic.co/t/elasticsearch-retrying-failed-action-with-response-code-503/149036 "2018-09-19T01:19:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Vivek\_Nigam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivek_nigam/32/25094_2.png) [@Vivek\_Nigam](https://discuss.elastic.co/u/Vivek_Nigam)
#### Post date: [September 19, 2018, 1:19am UTC](https://discuss.elastic.co/t/elasticsearch-retrying-failed-action-with-response-code-503/149036/1 "2018-09-19T01:19:21Z")

</div>

I m ingesting very small data in elasticserach getting following error:

elasticsearch - retrying failed action with response code: 503 ({"type"=\>"unavailable\_shards\_exception", "reason"=\>"[mastercount][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[mastercount][0]] containing [index {[mastercount][doc][eZyo7WUBc\_5LZQ1F9NaP], source[

[INFO] 2018-09-18 22:40:57.523 [Ruby-0-Thread-9@[main]\>worker2: :1] elasticsearch - Retrying individual bulk actions that failed or were rejected by the previous bulk request. {:count=\>1}

---

<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 17, 2018, 1:19am UTC](https://discuss.elastic.co/t/elasticsearch-retrying-failed-action-with-response-code-503/149036/2 "2018-10-17T01:19:25Z")

</div>

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