Skip to content

Opensearch Error Unable to upload document: #3212

Discussion options

You must be logged in to vote

Alright, I had some time to look into this issue. Thanks for providing the test data, that helped a lot. (And sorry if I state the obvious for you here, but had to test it myself)

So it looks like the order of how you upload stuff matters in this case. Uploading machine_mft.jsonl before machine_tl.jsonl works just fine. The other way round results in the [400] <mapper_parsing_exception> failed to parse field [flags] of type [long] in document with id 'Ml956JIBo-xfjZC0YsDQ'. Preview of field's value: 'ALLOCATED' [illegal_argument_exception/For input string: "ALLOCATED"] error.

Taking a look at the mapping in both cases:

Case 1 - machine_mft.jsonl before machine_tl.jsonl :

        "flags" :…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@midoo45
Comment options

@midoo45
Comment options

@jkppr
Comment options

@jkppr
Comment options

jkppr Nov 1, 2024
Maintainer

Answer selected by jkppr
@jkppr
Comment options

jkppr Nov 1, 2024
Maintainer

@jkppr
Comment options

jkppr Nov 1, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Data import All things that are with importing data
2 participants