title: BULK API : Malformed action/metadata line [3], expected START_OBJECT but found [VALUE_STRING]
body: <p>Using Elasticsearch 5.5,getting the following error while posting this bulk request, unable to figure out what is wrong with the request.</p>
  
  <pre><code>"type": "illegal_argument_exception",
  "reason": "Malformed action/metadata line [3], expected START_OBJECT but found [VALUE_STRING]"
  </code></pre>
  
  <p>POST <a href="http://localhost:9200/access_log_index/access_log/_bulk" rel="noreferrer">http://localhost:9200/access_log_index/access_log/_bulk</a></p>
  
  <pre><code>{ "index":{ "_id":11} }
  {  
     "id":11,
     "tenant_id":682,
     "tenant_name":"kcc",
     "user.user_name":"k0772251",
     "access_date":"20170821",
     "access_time":"02:41:44.123+01:30",
     "operation_type":"launch_service",
     "remote_host":"qlsso.quicklaunchsso.com",
     "user_agent":"Mozilla/5.0 (Linux; Android 7.0; LGLS775 Build/NRD90U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Mobile Safari/537.36",
     "browser":"",
     "device":"",
     "application.application_id":1846,
     "application.application_name":"Desire2Learn",
     "geoip.ip":"192.95.18.163",
     "geoip.country_code":"US",
     "geoip.country_name":"United States",
     "geoip.region_code":"NJ",
     "geoip.region_name":"New Jersey",
     "geoip.city":"Newark",
     "geoip.zip_code":7102,
     "geoip.time_zone":"America/New_York",
     "geoip.latitude":40.7355,
     "geoip.longitude":-74.1741,
     "geoip.metro_code":501
  }
  { "index":{"_id":12} }
  {  
     "id":12,
     "tenant_id":682,
     "tenant_name":"kcc",
     "user.user_name":"k0772251",
     "access_date":"20170821",
     "access_time":"02:50:44.123+01:30",
     "operation_type":"launch_service",
     "remote_host":"qlsso.quicklaunchsso.com",
     "user_agent":"Mozilla/5.0 (Linux; Android 7.0; LGLS775 Build/NRD90U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Mobile Safari/537.36",
     "browser":"",
     "device":"",
     "application.application_id":2341,
     "application.application_name":"Gmail",
     "geoip.ip":"192.95.18.163",
     "geoip.country_code":"US",
     "geoip.country_name":"United States",
     "geoip.region_code":"NJ",
     "geoip.region_name":"New Jersey",
     "geoip.city":"Newark",
     "geoip.zip_code":7102,
     "geoip.time_zone":"America/New_York",
     "geoip.latitude":40.7355,
     "geoip.longitude":-74.1741,
     "geoip.metro_code":501
  }
  </code></pre>