Elasticsearch bulk insert JSON file

have the following JSON file

I have used awk to get rid of empty spaces, trailing, next line

awk -v ORS= -v OFS= '{$1=$1}1' data.json

I have added a create request at the top of my data.json followed by \n and the rest of my data.

When I issue bulk submit request, I get the following error

CURL -XPUT http://localhost:9200/_bulk --data-binary @data.json

  "took": 1,
  "errors": true,
  "items": [
      "create": {
        "_index": "socteam",
        "_type": "products",
        "_id": "AVQuGPff-1Y7OIPIJaLX",
        "status": 400,
        "error": {
          "type": "mapper_parsing_exception",
          "reason": "failed to parse",
          "caused_by": {
            "type": "not_x_content_exception",
            "reason": "Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"

Any idea on what this error mean? I haven't created any mapping, I'm using vanilla elasticsearch

What does the actual file you look like sent, after you have added the bulk stuff.