ES issue with bulk items

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

"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 ?

Take a look at this post it explains the error

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