# Rejecting mapping update to \[.kibana\] as the final mapping would have more than 1 type: \[visualization, doc\]

**URL:** <https://discuss.elastic.co/t/rejecting-mapping-update-to-kibana-as-the-final-mapping-would-have-more-than-1-type-visualization-doc/162491>\
**Category:** Elasticsearch\
**Created:** [December 31, 2018, 9:52am UTC](https://discuss.elastic.co/t/rejecting-mapping-update-to-kibana-as-the-final-mapping-would-have-more-than-1-type-visualization-doc/162491 "2018-12-31T09:52:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanagasathish](https://avatars.discourse-cdn.com/v4/letter/k/958977/32.png) [@kanagasathish](https://discuss.elastic.co/u/kanagasathish)\
**Post date:** [December 31, 2018, 9:52am UTC](https://discuss.elastic.co/t/rejecting-mapping-update-to-kibana-as-the-final-mapping-would-have-more-than-1-type-visualization-doc/162491/1 "2018-12-31T09:52:09Z")

</div>

In postman i posted below data

Url: localhost:9200/.kibana/visualization/scanreport

header : content-type/application/json  
Method:Put  
Requestbody:

{"title":"PieSampleChart","visState":"{"aggs":[{"id":"1","params":{},"schema":"metric","type":"count"},{"id":"2","params":{"field":"leadsource","order":"desc","orderBy":"1","size":100},"schema":"segment","type":"terms"}],"listeners":{},"params":{"addLegend":true,"addTooltip":true,"isDonut":false,"shareYAxis":true},"type":"pie"}","uiStateJSON": "{}","description": "","version": 1,"kibanaSavedObjectMeta": {"searchSourceJSON": "{"index":"testsamplee","query":{"query\_string":{"analyze\_wildcard":true,"query":""}},"filter":}"}}

AM getting below response only am not able to find the issue

{  
"error": {  
"root\_cause": [  
{  
"type": "illegal\_argument\_exception",  
"reason": "Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [visualization, doc]"  
}  
],  
"type": "illegal\_argument\_exception",  
"reason": "Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [visualization, doc]"  
},  
"status": 400  
}

Can anyone help on this issue please  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![Anup\_Kumar\_Saha](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Anup\_Kumar\_Saha](https://discuss.elastic.co/u/Anup_Kumar_Saha)\
**Post date:** [January 12, 2019, 7:23pm UTC](https://discuss.elastic.co/t/rejecting-mapping-update-to-kibana-as-the-final-mapping-would-have-more-than-1-type-visualization-doc/162491/2 "2019-01-12T19:23:35Z")

</div>

curl --header 'content-type: application/JSON' -XPUT 127.0.0.1:5601/.kibana/visualization/smartQED\_Line\_Chart -d  
'{ "title": "smartQED\_Line\_Chart", "visState": "{"title":"smartQED\_Line\_Chart","type":"line","params":{"type":"line","grid":{"categoryLines":false,"style":{"color":"#eee"}},"categoryAxes":[{"id":"CategoryAxis-1","type":"category","position":"bottom","show":true,"style":{},"scale":{"type":"linear"},"labels":{"show":true,"truncate":100},"title":{}}],"valueAxes":[{"id":"ValueAxis-1","name":"LeftAxis-1","type":"value","position":"left","show":true,"style":{},"scale":{"type":"linear","mode":"normal"},"labels":{"show":true,"rotate":0,"filter":false,"truncate":100},"title":{"text":"Count"}}],"seriesParams":[{"show":"true","type":"line","mode":"normal","data":{"label":"Count","id":"1"},"valueAxis":"ValueAxis-1","drawLinesBetweenPoints":true,"showCircles":true}],"addTooltip":true,"addLegend":true,"legendPosition":"right","times":,"addTimeMarker":false},"aggs":[{"id":"1","enabled":true,"type":"count","schema":"metric","params":{}},{"id":"2","enabled":true,"type":"terms","schema":"segment","params":{"field":"ip.keyword","size":10,"order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","missingBucket":false,"missingBucketLabel":"Missing"}}]}", "uiStateJSON": "{}", "description": "", "version": 1, "kibanaSavedObjectMeta": { "searchSourceJSON": "{"index":"logstash-2015","query":{"query":"","language":"lucene"},"filter":}" } }'

Hi.... I am using ES 6.5 and Kibana 6.5

Getting Error --- Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [visualization, doc]

Can anyone help me ..it is urgent..  
Thanks in advance.

---

<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:** [February 9, 2019, 7:23pm UTC](https://discuss.elastic.co/t/rejecting-mapping-update-to-kibana-as-the-final-mapping-would-have-more-than-1-type-visualization-doc/162491/3 "2019-02-09T19:23:38Z")

</div>

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