# Create mapping error！——primary shard is not active Timeout

**URL:** <https://discuss.elastic.co/t/create-mapping-error-primary-shard-is-not-active-timeout/88174>\
**Category:** Elasticsearch\
**Created:** [June 4, 2017, 7:56am UTC](https://discuss.elastic.co/t/create-mapping-error-primary-shard-is-not-active-timeout/88174 "2017-06-04T07:56:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [June 9, 2017, 11:29am UTC](https://discuss.elastic.co/t/create-mapping-error-primary-shard-is-not-active-timeout/88174/2 "2017-06-09T11:29:22Z")

</div>

It sounds like maybe your cluster is too busy and so it isn't able to create the primary shard before the timeout. Perhaps there is another reason, which should be in the logs.

If you were on Elasticsearch 5, you could use the [cluster-allocation-explain API](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/cluster-allocation-explain.html) to get an easy explanation for what is going wrong.

---

_[View the full topic](https://discuss.elastic.co/t/create-mapping-error-primary-shard-is-not-active-timeout/88174)._
