# Unable to fetch mapping on fresh installs of Kibana and Elasticsearch

**URL:** https://discuss.elastic.co/t/unable-to-fetch-mapping-on-fresh-installs-of-kibana-and-elasticsearch/109653
**Category:** Kibana
**Created:** [November 29, 2017, 10:53pm UTC](https://discuss.elastic.co/t/unable-to-fetch-mapping-on-fresh-installs-of-kibana-and-elasticsearch/109653 "2017-11-29T22:53:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bradley](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@bradley](https://discuss.elastic.co/u/bradley)
#### Post date: [November 29, 2017, 10:53pm UTC](https://discuss.elastic.co/t/unable-to-fetch-mapping-on-fresh-installs-of-kibana-and-elasticsearch/109653/1 "2017-11-29T22:53:07Z")

</div>

I have installed Elasticsearch and Kibana, and X-pack on both. I have set up a mapping for, and uploaded the Shakespeare dataset. When I use `http://localhost:9200/_cat/indices`, I see the index: `yellow open shakespeare Zb2R63JaSN-KnFuS4efZOQ 5 1 111395 0 22.8mb 22.8mb`, but in `/app/kibana#/management/kibana/index`, when I enter the mapping, it says 'Unable to fetch mapping.' I try variations of `shakes*`, and it still says the same thing. Where should I look to see what the problem is.

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [November 29, 2017, 11:01pm UTC](https://discuss.elastic.co/t/unable-to-fetch-mapping-on-fresh-installs-of-kibana-and-elasticsearch/109653/2 "2017-11-29T23:01:27Z")

</div>

Kibana will often return that if the user you're logged in as doesn't have access to the index's settings. If you have superuser access I'd try that to narrow down the root cause.

You could also compare notes with what elasticsearch is returning by going to Console and making a request for field\_stats:

```auto
GET /shakes*/_field_caps?fields=_source,_id,_type_index,_score

```

---

<div class="post-metadata">

### Author: ![bradley](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@bradley](https://discuss.elastic.co/u/bradley)
#### Post date: [November 29, 2017, 11:06pm UTC](https://discuss.elastic.co/t/unable-to-fetch-mapping-on-fresh-installs-of-kibana-and-elasticsearch/109653/3 "2017-11-29T23:06:14Z")

</div>

Thanks. I used 'elastic' user, and it worked.

---

<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: [December 27, 2017, 11:06pm UTC](https://discuss.elastic.co/t/unable-to-fetch-mapping-on-fresh-installs-of-kibana-and-elasticsearch/109653/4 "2017-12-27T23:06:17Z")

</div>

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