Elastic indexed data but response has error

Data was indexed successfully but we got the response below from Elastic. Is there a reason why Elastic returned error but data is still indexed?

Error: %{"errors" => true, "items" => [%{"index" => %{"_id" => "tracts-598812", "_index" => "forms", "_type" => "_doc", "error" => %{"caused_by" => %{"reason" => "Cannot determine orientation: signed area equal to 0. Points are collinear or polygon self-intersects.", "type" => "illegal_argument_exception"}, "reason" => "failed to parse field [geometry] of type [geo_shape]", "type" => "mapper_parsing_exception"}, "status" => 400}}, %{"index" => %{"_id" => "tracts-598812", "_index" => "forms", "_primary_term" => 1, "_seq_no" => 270448, "_shards" => %{"failed" => 0, "successful" => 2, "total" => 2}, "_type" => "_doc", "_version" => 7, "result" => "updated", "status" => 200}}], "took" => 6}

When are you getting this response? What are you sending to Elasticsearch when you get it? What is the mapping of the doc? What does a doc look like?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.