When your client only accepts certain formats of data from Aurora and Aurora cannot fulfill that request, Aurora 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 Aurora returns, not_acceptable follows the Problem Details for HTTP APIs draft specification guide and thus has the following attributes:
Attribute | Type | Description |
---|---|---|
Type | URL | The identifier for the error. This is a URL that can be visited in the browser. |
Title | string | A short title describing the error. |
Status | Number | An HTTP status code that maps to the error. |
Detail | string | A more detailed description of the error. |
Instance | string | A token that uniquely identifies this request. Allows server administrators to correlate a client report with server log files |
$ curl -X GET -H "Accept: application/xml"
"https://network.paybito.com/accounts/GALWEV6GY73RJ255JC7XUOZ2L7WZ5JJDTKATB2MUK7F3S67DVT2A6R5G"
{
"type" : "not_acceptable",
"title" : "An acceptable response content-type could not be provided for this request",
"status" : 406,
"instance" : "hcnet-001.prd.hcnet001.internal.hcnet-ops.com/hCYL7oezXs-062662"
}
Support Agent
*Powered by HashCash