action_request_validation_exception: action_request_validation_exception
ElasticsearchWhat does it mean?
The request failed validation before execution. A required field is missing or fields are invalid, so Elasticsearch rejects the operation.
Why does it happen?
Missing required parameters (e.g. no index name specified), an empty body, an invalid combination of fields, or required information not supplied in a bulk/index request.
How to fix it
Review the list of missing/invalid fields in the error message and supply the required fields. Complete the request body and parameters according to the API documentation. In bulk requests, verify that each action line has correct metadata and a correct body.
More from this engine
- security_exceptionsecurity_exception: unable to authenticate / action [...] is unauthorized for user [...] (HTTP 401/403)
- validation_exceptionvalidation_exception / illegal_argument_exception: Validation Failed: ...
- task_cancelled_exceptiontask_cancelled_exception: Task was cancelled / TaskCancelledException
- index_closed_exceptionindex_closed_exception
- unavailable_shards_exceptionunavailable_shards_exception
- query_shard_exceptionquery_shard_exception
- script_exceptionscript_exception