elastic / elastic/elasticsearch

SQL: error returned in JSON despite binary format parameter

Open
#56,030 2 comments 0 reactions 0 assignees View on GitHub
:Analytics/SQL >bug Team:Analytics
Dominant language
Java
Stars
77.9k
Forks
26.1k
PR merge metrics
PR metrics pending

Description

Errors returned by the SQL API are always returned in JSON, despite setting the `binary_format` to `true`.

To get a CBOR error, one needs to provide the `format` URL param or the approriate `Content-Type` header.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.