-
Notifications
You must be signed in to change notification settings - Fork 275
Closed
Description
Java API client version
8.17.0
Java version
17 (kotlin 2.0.x)
Elasticsearch Version
8.17.0
Problem description
Hi, I'm getting an exception when running a PIT request. The missing field is OpenPointInTimeResponse.shards.
. Filing a bug as requested in the docs.
I initially posted in a different ticket. I was told there it is probably related to this recent change. The elasticsearch server should always send _shard
in the response from version 8.16.0 forward.
Thanks!
The first error was caused by: node: https://localhost:50388/, status: 200, [es/open_point_in_time] Failed to decode response
co.elastic.clients.transport.TransportException: node: https://localhost:50388/, status: 200, [es/open_point_in_time] Failed to decode response
at co.elastic.clients.transport.ElasticsearchTransportBase.decodeTransportResponse(ElasticsearchTransportBase.java:409)
at co.elastic.clients.transport.ElasticsearchTransportBase.getApiResponse(ElasticsearchTransportBase.java:367)
at co.elastic.clients.transport.ElasticsearchTransportBase.performRequest(ElasticsearchTransportBase.java:148)
at co.elastic.clients.elasticsearch.ElasticsearchClient.openPointInTime(ElasticsearchClient.java:1809)
[...]
Caused by: co.elastic.clients.util.MissingRequiredPropertyException: Missing required property 'OpenPointInTimeResponse.shards'
cc @l-trotta
Metadata
Metadata
Assignees
Labels
No labels