Elasticsearch request failed with code 400.