Elasticsearch “no requests added” Bulk API Error

Even though i had \n on the last line I literally HAD to have a full carriage return after my last json line.

The following worked:

{ "update" : { "_index" : "test_people", "_type" : "person", "_id" : "1" }} \n
{ "doc" : { "name":"hi", "age":100 }}

So there needs to be an empty line below the "doc" line.

Leave a Comment