{
"error" : {
"root_cause" : [ {
"type" : "action_request_validation_exception",
"reason" : "Validation Failed: 1: no requests added;"
} ],
"type" : "action_request_validation_exception",
"reason" : "Validation Failed: 1: no requests added;"
},
"status" : 400
Getting this error when I use curl -XPOST 'http://localhost:9200/disease/_bulk' --data-binary @Dyslexia.json
want to add this file from machine to kibana. I am able to upload the file created in Windows but this file was made in Mac and getting this error.
And what's the (partial) contents of Dyslexia.json?
Well the contents are normal string and number but I solved it. When you save your file just change the Line ending to Linux/Unix from Mac OS. I changed and the error got solved. Thanks for your input though.