406
Not Acceptable
not_acceptable — Not acceptable
Message
What causes it
- The `Accept` header is not a valid media type (for example `Accept: json`, with no slash) or names a format the API does not serve. This comes from the framework with no `details`.
How to fix it
- Send `Accept: application/json`, or omit the `Accept` header — every operation answers JSON by default.
- For batch exports, choose the format with the path extension (`.csv` / `.zip`) rather than `Accept`; see `unsupported_format`.
Operations that return it
Any operation can return this code.
See the API reference for the full list of operations.
Example response
HTTP/1.1 406 Not Acceptable
· Content-Type: application/json
406 Not Acceptable
{
"error": {
"code": "not_acceptable",
"message": "The request could not be completed.",
"details": [],
"request_id": "6f1c2a3e-8d4b-4c5e-9f0a-1b2c3d4e5f60",
"doc_url": "https://cascades.crscreditapi.com/docs/api/errors/not_acceptable"
}
}