# UnavailableShardsException

**URL:** <https://discuss.elastic.co/t/unavailableshardsexception/29404>\
**Category:** Elasticsearch\
**Created:** [September 16, 2015, 12:25pm UTC](https://discuss.elastic.co/t/unavailableshardsexception/29404 "2015-09-16T12:25:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![genesis](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@genesis](https://discuss.elastic.co/u/genesis)\
**Post date:** [September 16, 2015, 12:25pm UTC](https://discuss.elastic.co/t/unavailableshardsexception/29404/1 "2015-09-16T12:25:02Z")

</div>

This exception is preventing the cluster to be green, it is red. Any idea how to fix it?  
2015-09-16 12:19:35,513][ERROR][marvel.agent.exporter] [ElasticSearch-08] create failure (index:[.marvel-2015.09.16] type: [cluster\_state]): UnavailableShardsException[[.marvel-2015.09.16][0] Primary shard is not active or isn't assigned is a known node. Timeout: [1m], request: org.elasticsearch.action.bulk.BulkShardRequest@c54a1ee]

version" : {  
"number" : "1.4.5",

---

<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:50pm UTC](https://discuss.elastic.co/t/unavailableshardsexception/29404/2 "2017-07-05T23:50:02Z")

</div>


