# ES issue with bulk items

**URL:** <https://discuss.elastic.co/t/es-issue-with-bulk-items/294598>\
**Category:** Elasticsearch\
**Created:** [January 17, 2022, 2:41pm UTC](https://discuss.elastic.co/t/es-issue-with-bulk-items/294598 "2022-01-17T14:41:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominbdg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominbdg/32/102457_2.png) [@dominbdg](https://discuss.elastic.co/u/dominbdg)\
**Post date:** [January 17, 2022, 2:41pm UTC](https://discuss.elastic.co/t/es-issue-with-bulk-items/294598/1 "2022-01-17T14:41:23Z")

</div>

Hello,  
I'm receiving below issues with bulk items,

```auto
"stacktrace": ["org.elasticsearch.index.mapper.MapperParsingException: object mapping for [rule] tried to parse field [rule] as object, but found a concrete value",
"at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrNested(DocumentParser.java:386) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:491) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.index.mapper.DocumentParser.parseValue(DocumentParser.java:617) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.index.mapper.DocumentParser.innerParseObject(DocumentParser.java:433) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrNested(DocumentParser.java:404) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.index.mapper.DocumentParser.internalParseDocument(DocumentParser.java:104) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:62) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:195) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.index.shard.IndexShard.prepareIndex(IndexShard.java:851) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.index.shard.IndexShard.applyIndexOperation(IndexShard.java:828) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.index.shard.IndexShard.applyIndexOperationOnPrimary(IndexShard.java:800) ~[elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.action.bulk.TransportShardBulkAction.executeBulkItemRequest(TransportShardBulkAction.java:274) [elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.action.bulk.TransportShardBulkAction$2.doRun(TransportShardBulkAction.java:164) [elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:732) [elasticsearch-7.11.1.jar:7.11.1]",
"at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) [elasticsearch-7.11.1.jar:7.11.1]",
"at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]",
"at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]",
"at java.lang.Thread.run(Thread.java:832) [?:?]"] }

```

And I don't know what to do with it, can someone help me with - what can I do to troubleshoot this issue ?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [January 17, 2022, 3:35pm UTC](https://discuss.elastic.co/t/es-issue-with-bulk-items/294598/2 "2022-01-17T15:35:36Z")

</div>

Take a look at this post it explains the error

> [@Logstash Parser error - tried to parse field as object, but found a concrete value](https://discuss.elastic.co/t/logstash-parser-error-tried-to-parse-field-as-object-but-found-a-concrete-value/269140/4):
>
> Try this test, hopefully this makes it clearer POST test/\_doc { "myfield" : "myvalue", "myotherfield" : { "mysubfield1" : "mysubvalue1", "mysubfield2" : "mysubvalue2" } } Then Post POST test/\_doc { "myfield" : "myvalue", "myotherfield" : "myconcretevalue" } and you will get this error. { "error" : { "root\_cause" : [{ "type" : "mapper\_parsing\_exception", "reason" : "object mapping for [myotherfield] tried to parse field [myotherfield] as objec…

---

<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 14, 2022, 3:36pm UTC](https://discuss.elastic.co/t/es-issue-with-bulk-items/294598/3 "2022-02-14T15:36:15Z")

</div>

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