# Cluster Allocation explain API

**URL:** <https://discuss.elastic.co/t/cluster-allocation-explain-api/118813>\
**Category:** Elasticsearch\
**Created:** [February 7, 2018, 10:47am UTC](https://discuss.elastic.co/t/cluster-allocation-explain-api/118813 "2018-02-07T10:47:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vach](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vach](https://discuss.elastic.co/u/vach)\
**Post date:** [February 7, 2018, 10:47am UTC](https://discuss.elastic.co/t/cluster-allocation-explain-api/118813/1 "2018-02-07T10:47:19Z")

</div>

Hello. I have some problems with [Cluster Allocation Explain API](https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html). When I do GET request to /\_cluster/allocation/explain URI I get following response:

> Blockquote{  
> "error": {  
> "root\_cause": [  
> {  
> "type": "index\_not\_found\_exception",  
> "reason": "no such index",  
> "resource.type": "index\_expression",  
> "resource.id": "\_cluster",  
> "index": "\_cluster"  
> }  
> ],  
> "type": "index\_not\_found\_exception",  
> "reason": "no such index",  
> "resource.type": "index\_expression",  
> "resource.id": "\_cluster",  
> "index": "\_cluster"  
> },  
> "status": 404  
> }

So, are there any other ways to get unassigned shard's reason? Thank you.

---

<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:** [March 7, 2018, 10:47am UTC](https://discuss.elastic.co/t/cluster-allocation-explain-api/118813/2 "2018-03-07T10:47:30Z")

</div>

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