# MapperParsingException for type Object

**URL:** <https://discuss.elastic.co/t/mapperparsingexception-for-type-object/38557>\
**Category:** Elasticsearch\
**Created:** [January 6, 2016, 11:12pm UTC](https://discuss.elastic.co/t/mapperparsingexception-for-type-object/38557 "2016-01-06T23:12:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pradeep\_Gowda](https://avatars.discourse-cdn.com/v4/letter/p/ebca7d/32.png) [@Pradeep\_Gowda](https://discuss.elastic.co/u/Pradeep_Gowda)\
**Post date:** [January 6, 2016, 11:12pm UTC](https://discuss.elastic.co/t/mapperparsingexception-for-type-object/38557/1 "2016-01-06T23:12:56Z")

</div>

Hi All,  
Recently I upgraded my ES from 1.4 to 2.1.1. But all mapping creation are failing wherever the type is object with below exception.

```
"somedata":{"type":"object","index":"not_analyzed"}

06-Jan-2016 14:56:37,137 ERROR [stderr] (Module init thread.) MapperParsingException[Failed to parse mapping [_default_]: Mapping definition for [somedata] has unsupported parameters: [index : not_analyzed]]; nested: MapperParsingException[Mapping definition for [event] has unsupported parameters: [index : not_analyzed]];

```

I know that mapping creation has become very strict going ahead from 2.x. But did anyone came across this exception before?

---

<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:** [January 7, 2016, 4:50am UTC](https://discuss.elastic.co/t/mapperparsingexception-for-type-object/38557/2 "2016-01-07T04:50:32Z")

</div>

Can you show us the mappings?

---

<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:** [July 5, 2017, 11:26pm UTC](https://discuss.elastic.co/t/mapperparsingexception-for-type-object/38557/3 "2017-07-05T23:26:33Z")

</div>


