# CreateIndexRequest is failing

**URL:** <https://discuss.elastic.co/t/createindexrequest-is-failing/199415>\
**Category:** Elasticsearch\
**Created:** [September 13, 2019, 11:13am UTC](https://discuss.elastic.co/t/createindexrequest-is-failing/199415 "2019-09-13T11:13:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucabes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lucabes/32/51616_2.png) [@lucabes](https://discuss.elastic.co/u/lucabes)\
**Post date:** [September 13, 2019, 11:13am UTC](https://discuss.elastic.co/t/createindexrequest-is-failing/199415/1 "2019-09-13T11:13:23Z")

</div>

I have problem with create index.  
Using ELK 7.3  
Getting error: **MapperParsingException[Failed to parse mapping [properties]: Root mapping definition has unsupported parameters:**  
on request:

```auto
CreateIndexRequest request = new CreateIndexRequest(indexName);
request.source(task, XContentType.JSON);

```

where task is loaded from file [https://pastebin.com/T8cpurpm](https://pastebin.com/T8cpurpm)

---

<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:** [October 11, 2019, 11:22am UTC](https://discuss.elastic.co/t/createindexrequest-is-failing/199415/2 "2019-10-11T11:22:57Z")

</div>

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