Not Acceptable
When your client only accepts certain formats of data from Horizon and Horizon cannot fulfill that request, Horizon will return a not_acceptable error. This is analogous to the HTTP 406 Error.
If you are encountering this error, please check to make sure the criteria for content you’ll accept is correct.
Attributes
As with all errors Horizon returns, not_acceptable follows the Problem Details for HTTP APIs draft specification guide and thus has the following attributes:
Description | Type | Attribute |
The identifier for the error. This is a URL that can be visited in the browser | URL | Type |
A short title describing the error | String | Title |
An HTTP status code that maps to the error | Number | Status |
A more detailed description of the error | String | Detail |
A token that uniquely identifies this request. Allows server administrators to correlate a client report with server log files | String | Instance |