# Data Import Fail: Can't merge a non object mapping

**URL:** <https://discuss.elastic.co/t/data-import-fail-cant-merge-a-non-object-mapping/196545>\
**Category:** Elasticsearch\
**Created:** [August 23, 2019, 2:21pm UTC](https://discuss.elastic.co/t/data-import-fail-cant-merge-a-non-object-mapping/196545 "2019-08-23T14:21:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![0x00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/0x00/32/52748_2.png) [@0x00](https://discuss.elastic.co/u/0x00)\
**Post date:** [August 25, 2019, 9:20pm UTC](https://discuss.elastic.co/t/data-import-fail-cant-merge-a-non-object-mapping/196545/5 "2019-08-25T21:20:30Z")

</div>

I'm still struggling with this problem so any additional help would be greatly appreciated.

I just re-tried using elasticsearch\_loader to see if maybe it would give me either better/different error messages or some indication of what I needed to resolve. I received this:

**JSON file stats:**  
lines: 160,000  
lines that went to HELK stack: 183 (shown in index)

`elasticsearch.helpers.errors.BulkIndexError: ('317 document(s) failed to index.', [{u'index': {u'status': 400, u'_type': u'data', u'_index': u'wthisgoingon', u'error': {u'reason': u'Could not dynamically add mapping for field [id.resp_h.name.vals]. Existing mapping for [id.resp_h] must be of type object but found [text].', u'type': u'mapper_parsing_exception'}`

---

_[View the full topic](https://discuss.elastic.co/t/data-import-fail-cant-merge-a-non-object-mapping/196545)._
