elastic / elastic/elasticsearch
SQL: error returned in JSON despite binary format parameter
Open
: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
Assessment
This issue has not been assessed yet.