# Mapping conflict (without any existing mappings)

**URL:** <https://discuss.elastic.co/t/mapping-conflict-without-any-existing-mappings/97127>\
**Category:** Elasticsearch\
**Created:** [August 15, 2017, 3:50pm UTC](https://discuss.elastic.co/t/mapping-conflict-without-any-existing-mappings/97127 "2017-08-15T15:50:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuval](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yuval](https://discuss.elastic.co/u/Yuval)\
**Post date:** [August 15, 2017, 3:50pm UTC](https://discuss.elastic.co/t/mapping-conflict-without-any-existing-mappings/97127/1 "2017-08-15T15:50:34Z")

</div>

Hi,

I'm using the elasticsearch's python client, trying to index new data into a non-existing index (there are NO indices in the cluster at all)  
when indexing the first document, the following exception is thrown:

> **RequestError** : TransportError(400, u'illegal\_argument\_exception', u'mapper [ip.ip.checksum] of different type, current\_type [text], merged\_type [ObjectMapper]')

I have no idea what causes this exception since I have 0 documents in the cluster (also 0 indices, Counting on the index to be generated automatically when I index the first doc)

I've searched for solutions but I couldn't find any which match my case (mapping conflict without any existing mapping..)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 15, 2017, 4:34pm UTC](https://discuss.elastic.co/t/mapping-conflict-without-any-existing-mappings/97127/2 "2017-08-15T16:34:42Z")

</div>

What does your document look like? Are you using field names with dots in them that can potentially cause mapping conflicts with the document? Which version of Elasticsearch are you using?

---

<div class="post-metadata">

**Author:** ![Yuval](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yuval](https://discuss.elastic.co/u/Yuval)\
**Post date:** [August 16, 2017, 6:13am UTC](https://discuss.elastic.co/t/mapping-conflict-without-any-existing-mappings/97127/3 "2017-08-16T06:13:22Z")

</div>

The dots were the problem. I tottally forgot about the conflict that might occur with nested types.

Thanks 🙂

---

<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:** [September 13, 2017, 6:13am UTC](https://discuss.elastic.co/t/mapping-conflict-without-any-existing-mappings/97127/4 "2017-09-13T06:13:42Z")

</div>

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