# I have the error 503, No Shard Available Action Exception

**URL:** <https://discuss.elastic.co/t/i-have-the-error-503-no-shard-available-action-exception/26781>\
**Category:** Elasticsearch\
**Created:** [August 4, 2015, 8:52am UTC](https://discuss.elastic.co/t/i-have-the-error-503-no-shard-available-action-exception/26781 "2015-08-04T08:52:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juan\_Diaz\_Gonzalez](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@Juan\_Diaz\_Gonzalez](https://discuss.elastic.co/u/Juan_Diaz_Gonzalez)\
**Post date:** [August 4, 2015, 8:52am UTC](https://discuss.elastic.co/t/i-have-the-error-503-no-shard-available-action-exception/26781/1 "2015-08-04T08:52:38Z")

</div>

Hi everyone,

I am having problems when I am looking for a register inside of an index and the message is the next:

TransportError: TransportError(503, u'NoShardAvailableActionException[[new\_gompute\_history][2] null]; nested: IllegalIndexShardStateException[[new\_gompute\_history][2] CurrentState[POST\_RECOVERY] operations only allowed when started/relocated]; ')

This comes when I am searching by an id inside of an index.

The health of my cluster is green:

```
GET _cat/health?v

epoch timestamp cluster status node.total node.data shards pri relo init unassign 
1438678496 10:54:56 juan green 5 4 212 106 0 0 0 

GET _cat/allocation?v

shards disk.used disk.avail disk.total disk.percent host ip node                   
    53 3.1gb 16.8gb 20gb 15 bc10-05 10.8.5.15 Anomaloco              
    53 6.4gb 80.8gb 87.3gb 7 bc10-03 10.8.5.13 Algrim the Strong      
     0 0b l8a 10.8.0.231 logstash-l8a-5920-4018 
    53 6.4gb 80.8gb 87.3gb 7 bc10-03 10.8.5.13 Harry Leland           
    53 3.1gb 16.8gb 20gb 15 bc10-05 10.8.5.15 Hypnotia          

```

Has somebody any idea about this?

Thanks in advance

---

<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:57pm UTC](https://discuss.elastic.co/t/i-have-the-error-503-no-shard-available-action-exception/26781/2 "2017-07-05T23:57:35Z")

</div>


