# ElasticSearch upgrade 6.7 to 7.8

**URL:** https://discuss.elastic.co/t/elasticsearch-upgrade-6-7-to-7-8/241863
**Category:** Elasticsearch
**Created:** [July 20, 2020, 9:13am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-6-7-to-7-8/241863 "2020-07-20T09:13:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![starwin\_stephen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/starwin_stephen/32/72429_2.png) [@starwin\_stephen](https://discuss.elastic.co/u/starwin_stephen)
#### Post date: [July 20, 2020, 9:13am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-6-7-to-7-8/241863/1 "2020-07-20T09:13:24Z")

</div>

Recently i have upgraded from 6.7 to 7.8 in a single node server.Now i am facing below error while trying to clear/reindex from the application server.

```auto
**[error]** **Message: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Types** 

**cannot be provided in put mapping requests, unless the include_type_name** 

**parameter is set to** 

**true."}],"type":"illegal_argument_exception","reason":"Types cannot be** 

**provided in put mapping requests, unless the include_type_name parameter is** 

**set to true."},"status":400}**

```

Could you please suggest how to fix this issue?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 20, 2020, 11:48pm UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-6-7-to-7-8/241863/2 "2020-07-20T23:48:26Z")

</div>

Look here [https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html) for the `include_type_name` parameter that is mentioned.

---

<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 17, 2020, 11:48pm UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-6-7-to-7-8/241863/3 "2020-08-17T23:48:33Z")

</div>

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