I'm going through (this Elasticsearch's tutorial)[https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-index.html#getting-started-batch-processing] but when I try to run the command to bulk import the accounts.json file, I get the following error:
"type" : "action_request_validation_exception", "reason" : "Validation Failed: 1: type is missing;2: type is missing;3: type is missing; (the error is long, and goes up to type 1000 is missing)
I have a cluster up locally, I can check it's health and PUT / GET data from it.
I have tried checking the file format, replacing the file with another one and, most importantly, removing all but one entry from the file, but the error persists.
Can anyone give any suggestions?