You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When requesting binary response data: optionsBuilder.addHeader("Accept", "application/cbor");
Any ResponseException will be read as a string instead of the requested format.
This leads to malformed error messages, such as: org.opensearch.client.ResponseException: method [POST], host [http://localhost:9200], URI [/index/_search], status line [HTTP/1.1 400 Bad Request] ¿eerror¿jroot_cause�¿dtypeqparsing_exceptionfreasonx_unknown query[...]
The text was updated successfully, but these errors were encountered:
When requesting binary response data:
optionsBuilder.addHeader("Accept", "application/cbor");
Any
ResponseException
will be read as a string instead of the requested format.This leads to malformed error messages, such as:
org.opensearch.client.ResponseException: method [POST], host [http://localhost:9200], URI [/index/_search], status line [HTTP/1.1 400 Bad Request] ¿eerror¿jroot_cause�¿dtypeqparsing_exceptionfreasonx_unknown query
[...]The text was updated successfully, but these errors were encountered: