# "type" : "mapper\_parsing\_exception"

**URL:** <https://discuss.elastic.co/t/type-mapper-parsing-exception/79118>\
**Category:** Elasticsearch\
**Created:** [March 18, 2017, 6:03am UTC](https://discuss.elastic.co/t/type-mapper-parsing-exception/79118 "2017-03-18T06:03:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kabali12345](https://avatars.discourse-cdn.com/v4/letter/k/6a8cbe/32.png) [@kabali12345](https://discuss.elastic.co/u/kabali12345)\
**Post date:** [March 18, 2017, 6:03am UTC](https://discuss.elastic.co/t/type-mapper-parsing-exception/79118/1 "2017-03-18T06:03:58Z")

</div>

Hi.....all, i am new to elasticsearch  
Here is my code for creating index

PUT sat1  
{  
"mappings": {  
"sun": {  
"properties": {  
"location": {  
"lat\_lon": true,  
"geohash\_prefix": true,  
"type": "geo\_point",  
"geohash": true  
}  
}  
}  
}  
}

and error is

{  
"error": {  
"root\_cause": [  
{  
"type": "mapper\_parsing\_exception",  
"reason": "Mapping definition for [location] has unsupported parameters: [geohash : true] [lat\_lon : true] [geohash\_prefix : true]"  
}  
],  
"type": "mapper\_parsing\_exception",  
"reason": "Failed to parse mapping [sun]: Mapping definition for [location] has unsupported parameters: [geohash : true] [lat\_lon : true] [geohash\_prefix : true]",  
"caused\_by": {  
"type": "mapper\_parsing\_exception",  
"reason": "Mapping definition for [location] has unsupported parameters: [geohash : true] [lat\_lon : true] [geohash\_prefix : true]"  
}  
},  
"status": 400  
}

---

<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:** [March 18, 2017, 7:07am UTC](https://discuss.elastic.co/t/type-mapper-parsing-exception/79118/2 "2017-03-18T07:07:26Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

geo point does not support parameters you added.  
Why did you add them?

See [https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html)

---

<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:** [April 15, 2017, 7:07am UTC](https://discuss.elastic.co/t/type-mapper-parsing-exception/79118/3 "2017-04-15T07:07:34Z")

</div>

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