# Receiving an error with a new installation of Kibana 7 beta1

**URL:** https://discuss.elastic.co/t/receiving-an-error-with-a-new-installation-of-kibana-7-beta1/169285
**Category:** Kibana
**Created:** [February 20, 2019, 8:01pm UTC](https://discuss.elastic.co/t/receiving-an-error-with-a-new-installation-of-kibana-7-beta1/169285 "2019-02-20T20:01:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Justin\_Doles](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justin_doles/32/40730_2.png) [@Justin\_Doles](https://discuss.elastic.co/u/Justin_Doles)
#### Post date: [February 20, 2019, 8:01pm UTC](https://discuss.elastic.co/t/receiving-an-error-with-a-new-installation-of-kibana-7-beta1/169285/1 "2019-02-20T20:01:01Z")

</div>

Hello. I'm working with a fresh installation of Kibana (and ES) 7.0 Beta 1 on Windows. The install went OK, but Kibana is logging the following message on startup:

> ```
> error [19:43:39.229] [warning][process] UnhandledPromiseRejectionWarning: [illegal_argument_exception] The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true. :: {"path":"/_template/.management-beats","query":{},"body":"{\"index_patterns\":[\".management-beats\"],\"version\":67000,\"settings\":{\"index\":{\"number_of_shards\":1,\"auto_expand_replicas\":\"0-1\",\"codec\":\"best_compression\"}},\"mappings\":{\"_doc\":{\"dynamic\":\"strict\",\"properties\":{\"type\":{\"type\":\"keyword\"},\"configuration_block\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"type\":{\"type\":\"keyword\"},\"tag\":{\"type\":\"keyword\"},\"description\":{\"type\":\"text\"},\"config\":{\"type\":\"keyword\"},\"last_updated\":{\"type\":\"date\"}}},\"enrollment_token\":{\"properties\":{\"token\":{\"type\":\"keyword\"},\"expires_on\":{\"type\":\"date\"}}},\"tag\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"name\":{\"type\":\"keyword\"},\"color\":{\"type\":\"keyword\"},\"hasConfigurationBlocksTypes\":{\"type\":\"keyword\"}}},\"beat\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"status\":{\"properties\":{\"type\":{\"type\":\"keyword\"},\"timestamp\":{\"type\":\"date\"},\"event\":{\"properties\":{\"type\":{\"type\":\"keyword\"},\"message\":{\"type\":\"text\"},\"uuid\":{\"type\":\"keyword\"}}}}},\"active\":{\"type\":\"boolean\"},\"last_checkin\":{\"type\":\"date\"},\"enrollment_token\":{\"type\":\"keyword\"},\"access_token\":{\"type\":\"keyword\"},\"verified_on\":{\"type\":\"date\"},\"type\":{\"type\":\"keyword\"},\"version\":{\"type\":\"keyword\"},\"host_ip\":{\"type\":\"ip\"},\"host_name\":{\"type\":\"keyword\"},\"ephemeral_id\":{\"type\":\"keyword\"},\"tags\":{\"type\":\"keyword\"},\"metadata\":{\"dynamic\":\"true\",\"type\":\"object\"},\"name\":{\"type\":\"keyword\"}}}}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true.\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true.\"},\"status\":400}"}
> at respond (C:\kibana\node_modules\elasticsearch\src\lib\transport.js:308:15)
> at checkRespForFailure (C:\kibana\node_modules\elasticsearch\src\lib\transport.js:267:7)
> at HttpConnector.<anonymous> (C:\kibana\node_modules\elasticsearch\src\lib\connectors\http.js:166:7)
> at IncomingMessage.wrapper (C:\kibana\node_modules\elasticsearch\node_modules\lodash\lodash.js:4935:19)
> at IncomingMessage.emit (events.js:194:15)
> at endReadableNT (_stream_readable.js:1103:12)
> at process._tickCallback (internal/process/next_tick.js:63:19)
> at emitWarning (internal/process/promises.js:81:15)
> at emitPromiseRejectionWarnings (internal/process/promises.js:120:9)
> at process._tickCallback (internal/process/next_tick.js:69:34)
> error [19:43:39.244] [warning][process] [illegal_argument_exception] The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true. :: {"path":"/_template/.management-beats","query":{},"body":"{\"index_patterns\":[\".management-beats\"],\"version\":67000,\"settings\":{\"index\":{\"number_of_shards\":1,\"auto_expand_replicas\":\"0-1\",\"codec\":\"best_compression\"}},\"mappings\":{\"_doc\":{\"dynamic\":\"strict\",\"properties\":{\"type\":{\"type\":\"keyword\"},\"configuration_block\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"type\":{\"type\":\"keyword\"},\"tag\":{\"type\":\"keyword\"},\"description\":{\"type\":\"text\"},\"config\":{\"type\":\"keyword\"},\"last_updated\":{\"type\":\"date\"}}},\"enrollment_token\":{\"properties\":{\"token\":{\"type\":\"keyword\"},\"expires_on\":{\"type\":\"date\"}}},\"tag\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"name\":{\"type\":\"keyword\"},\"color\":{\"type\":\"keyword\"},\"hasConfigurationBlocksTypes\":{\"type\":\"keyword\"}}},\"beat\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"status\":{\"properties\":{\"type\":{\"type\":\"keyword\"},\"timestamp\":{\"type\":\"date\"},\"event\":{\"properties\":{\"type\":{\"type\":\"keyword\"},\"message\":{\"type\":\"text\"},\"uuid\":{\"type\":\"keyword\"}}}}},\"active\":{\"type\":\"boolean\"},\"last_checkin\":{\"type\":\"date\"},\"enrollment_token\":{\"type\":\"keyword\"},\"access_token\":{\"type\":\"keyword\"},\"verified_on\":{\"type\":\"date\"},\"type\":{\"type\":\"keyword\"},\"version\":{\"type\":\"keyword\"},\"host_ip\":{\"type\":\"ip\"},\"host_name\":{\"type\":\"keyword\"},\"ephemeral_id\":{\"type\":\"keyword\"},\"tags\":{\"type\":\"keyword\"},\"metadata\":{\"dynamic\":\"true\",\"type\":\"object\"},\"name\":{\"type\":\"keyword\"}}}}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true.\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true.\"},\"status\":400}"}
> at respond (C:\kibana\node_modules\elasticsearch\src\lib\transport.js:308:15)
> at checkRespForFailure (C:\kibana\node_modules\elasticsearch\src\lib\transport.js:267:7)
> at HttpConnector.<anonymous> (C:\kibana\node_modules\elasticsearch\src\lib\connectors\http.js:166:7)
> at IncomingMessage.wrapper (C:\kibana\node_modules\elasticsearch\node_modules\lodash\lodash.js:4935:19)
> at IncomingMessage.emit (events.js:194:15)
> at endReadableNT (_stream_readable.js:1103:12)
> at process._tickCallback (internal/process/next_tick.js:63:19)
> 
> ```

Any ideas on what this means? Seems benign as Kibana loads as expected. I also realize it's beta, but I'm hoping to test some new features out.

---

<div class="post-metadata">

### Author: ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)
#### Post date: [February 20, 2019, 8:19pm UTC](https://discuss.elastic.co/t/receiving-an-error-with-a-new-installation-of-kibana-7-beta1/169285/2 "2019-02-20T20:19:32Z")

</div>

Pretty sure this is a bug, and it's been filed on GitHub: [https://github.com/elastic/kibana/issues/31348](https://github.com/elastic/kibana/issues/31348)

---

<div class="post-metadata">

### Author: ![Justin\_Doles](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justin_doles/32/40730_2.png) [@Justin\_Doles](https://discuss.elastic.co/u/Justin_Doles)
#### Post date: [February 21, 2019, 2:04pm UTC](https://discuss.elastic.co/t/receiving-an-error-with-a-new-installation-of-kibana-7-beta1/169285/3 "2019-02-21T14:04:19Z")

</div>

Thanks Lukas. I'll follow it on Github.

---

<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 21, 2019, 2:04pm UTC](https://discuss.elastic.co/t/receiving-an-error-with-a-new-installation-of-kibana-7-beta1/169285/4 "2019-03-21T14:04:20Z")

</div>

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