title: Elasticsearch Validation Failed
body: <p>I created the following map like so</p>
  
  <pre><code>curl -XPUT http://localhost:9200/movies -d '
  {
   "mappings" : {
    "_default_" : {
     "properties" : {
      "title" : {"type": "string", "index" : "not_analyzed" },
      "director" : {"type": "string", "index" : "not_analyzed" },
      "year" : { "type" : "integer" }
     }
    }
   }
  }
  ';
  </code></pre>
  
  <p>I have file called others2.json with the contents</p>
  
  <pre><code>{"index":{"_index":"movies","_type":"movie","_id":1}}
  {"title": "Movie1","director": "director1","year": 1962}
  </code></pre>
  
  <p>with an extra line in the end.</p>
  
  <p>When I try to added the contents of other2.json with the line <code>curl -XPUT localhost:9200/_bulk --data-binary @other2.json</code> I get the following error message</p>
  
  <pre><code>{"error":"ActionRequestValidationException[Validation Failed: 1: no requests added;]","status":500}
  </code></pre>
  
  <p>What am I doing wrong?</p>