# What is this error? is it going to affect anything

**URL:** <https://discuss.elastic.co/t/what-is-this-error-is-it-going-to-affect-anything/176824>\
**Category:** Elasticsearch\
**Created:** [April 15, 2019, 4:24am UTC](https://discuss.elastic.co/t/what-is-this-error-is-it-going-to-affect-anything/176824 "2019-04-15T04:24:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ridwan\_Syarifudin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ridwan_syarifudin/32/44111_2.png) [@Ridwan\_Syarifudin](https://discuss.elastic.co/u/Ridwan_Syarifudin)\
**Post date:** [April 15, 2019, 4:24am UTC](https://discuss.elastic.co/t/what-is-this-error-is-it-going-to-affect-anything/176824/1 "2019-04-15T04:24:12Z")

</div>

```
PUT _template/product_template

```

{  
"index\_patterns": [  
"master\_product\*"  
],  
"settings": {  
"number\_of\_shards": 1  
},  
"mappings": {  
"message": {  
"properties": {  
"id\_product": {  
"type": "integer"  
},  
"code\_product": {  
"type": "keyword"  
},  
"name\_product": {  
"type": "text",  
"fields": {  
"raw": {  
"type": "keyword"  
}  
}  
},  
"satuan\_product": {  
"type": "text"  
},  
"merek\_vehicle": {  
"type": "text",  
"fields": {  
"raw": {  
"type": "keyword"  
}  
}  
},  
"jenis\_vehicle": {  
"type": "text",  
"fields": {  
"raw": {  
"type": "keyword"  
}  
}  
},  
"merek\_product": {  
"type": "text",  
"fields": {  
"raw": {  
"type": "keyword"  
}  
}  
},  
"part\_number": {  
"type": "text",  
"fields": {  
"raw": {  
"type": "keyword"  
}  
}  
},  
"weight": {  
"type": "float"  
},  
"unit\_weight": {  
"type": "text"  
}  
}  
}  
}  
}

and i got this message after i created that

```
#! Deprecation: [types removal] The parameter include_type_name should be explicitly specified in put template requests to prepare for 7.0. In 7.0 include_type_name will default to 'false', and requests are expected to omit the type name in mapping definitions.

```

{  
"acknowledged" : true  
}

is this an error, is this going to affect anything? thank you

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 15, 2019, 6:29am UTC](https://discuss.elastic.co/t/what-is-this-error-is-it-going-to-affect-anything/176824/2 "2019-04-15T06:29:53Z")

</div>

It will only affect you when you will switch to 7.0 where you have to remove this line:

```
"message": {
```

---

<div class="post-metadata">

**Author:** ![Ridwan\_Syarifudin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ridwan_syarifudin/32/44111_2.png) [@Ridwan\_Syarifudin](https://discuss.elastic.co/u/Ridwan_Syarifudin)\
**Post date:** [April 15, 2019, 6:31am UTC](https://discuss.elastic.co/t/what-is-this-error-is-it-going-to-affect-anything/176824/3 "2019-04-15T06:31:43Z")

</div>

thank you for the answer sir

---

<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:** [May 13, 2019, 6:31am UTC](https://discuss.elastic.co/t/what-is-this-error-is-it-going-to-affect-anything/176824/4 "2019-05-13T06:31:44Z")

</div>

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