# Fatal Error: "trying to auto create mapping, but dynamic mapping is disabled"

**URL:** <https://discuss.elastic.co/t/fatal-error-trying-to-auto-create-mapping-but-dynamic-mapping-is-disabled/91166>\
**Category:** Kibana\
**Created:** [June 28, 2017, 6:03pm UTC](https://discuss.elastic.co/t/fatal-error-trying-to-auto-create-mapping-but-dynamic-mapping-is-disabled/91166 "2017-06-28T18:03:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmdaly](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@pmdaly](https://discuss.elastic.co/u/pmdaly)\
**Post date:** [June 28, 2017, 6:03pm UTC](https://discuss.elastic.co/t/fatal-error-trying-to-auto-create-mapping-but-dynamic-mapping-is-disabled/91166/1 "2017-06-28T18:03:55Z")

</div>

I tried searching for the error but couldn't find one similar. I'm using Kibana 4.1 and the elastic search server I'm trying to connect to is 1.7.5 . The full error is below

```
Kibana: Request to Elasticsearch failed: "TypeMissingException[[.kibana] type[[config, 
trying to auto create mapping, but dynamic mapping is disabled]] missing]"

Error: Request to Elasticsearch failed: "TypeMissingException[[.kibana] type[[config, trying 
to auto create mapping, but dynamic mapping is disabled]] missing]"
at http://localhost:5601/index.js?_b=7489:88445:15
at wrappedErrback (http://localhost:5601/index.js?_b=7489:20902:78)
at wrappedErrback (http://localhost:5601/index.js?_b=7489:20902:78)
at http://localhost:5601/index.js?_b=7489:21035:76
at Scope.$eval (http://localhost:5601/index.js?_b=7489:22022:28)
at Scope.$digest (http://localhost:5601/index.js?_b=7489:21834:31)
at Scope.$apply (http://localhost:5601/index.js?_b=7489:22126:24)
at done (http://localhost:5601/index.js?_b=7489:17661:45)
at completeRequest (http://localhost:5601/index.js?_b=7489:17875:7)
at XMLHttpRequest.xhr.onreadystatechange (http://localhost:5601/index.js?_b=7489:17814:11)
```

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [June 28, 2017, 6:49pm UTC](https://discuss.elastic.co/t/fatal-error-trying-to-auto-create-mapping-but-dynamic-mapping-is-disabled/91166/2 "2017-06-28T18:49:29Z")

</div>

Hi Patrick,

From the logs it looks like the mapping doesn't exist. How was it installed? Is this a fresh install ?  
Can you plz explain how you got to that scenario. More information would be helpful

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![pmdaly](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@pmdaly](https://discuss.elastic.co/u/pmdaly)\
**Post date:** [June 28, 2017, 9:02pm UTC](https://discuss.elastic.co/t/fatal-error-trying-to-auto-create-mapping-but-dynamic-mapping-is-disabled/91166/3 "2017-06-28T21:02:59Z")

</div>

I'm not sure how the elastic search server was installed. It was setup before I was hired on. I installed Kibana by downloading version 4.1.1 from the elastic website (fresh install). I'm on a macbook pro running siera and access elastic search server through a vpn. I'm able to query elastic search through normal requests and through elasticsearch-dsl python api. Are there any commands I can run or things I can do to give you more info?

---

<div class="post-metadata">

**Author:** ![pmdaly](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@pmdaly](https://discuss.elastic.co/u/pmdaly)\
**Post date:** [July 6, 2017, 3:51pm UTC](https://discuss.elastic.co/t/fatal-error-trying-to-auto-create-mapping-but-dynamic-mapping-is-disabled/91166/4 "2017-07-06T15:51:43Z")

</div>

any ideas?

---

<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:** [August 3, 2017, 3:51pm UTC](https://discuss.elastic.co/t/fatal-error-trying-to-auto-create-mapping-but-dynamic-mapping-is-disabled/91166/5 "2017-08-03T15:51:54Z")

</div>

Closed on August 3, 2017, 3:51pm UTC

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