Batch Ingestion API upload failure
I am trying to upload small file using batch ingestion api, in the existing data set via json file.
My json file looks good and valid. I am able to upload same file via UI but unable to upload it via API.
Getting the below error:
Input file: sample.json is not valid JSON file. Expecting the first character to be `[` or `{`, but 'm' is found. Please fix and re-ingest.
Sample Json content:
[{"_compname":{"Obj":{"key":"123","ID":"001", "con":"IN", "Name":"test"}}}]