Open
Description
openedon Sep 15, 2023
Java API client version
8.7.1
Java version
17
Elasticsearch Version
8.7.1
Problem description
The ElasticsearchAsyncSearchClient expects ErrorResponse in case of an issue.
ErrorResponse has status as a required property but the Elasticsearch error response for asyncSearch requests doesn't have a status -> ErrorResponse can't be deserialized. Instead the Endpoint's ResponseType is returned (if this can be deserialized) and the actual issue is suppressed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment