Skip to content
406 Not Acceptable Request error

Not acceptable

errorCode: NOT_ACCEPTABLE

What it means

The endpoint cannot produce a response in the format you asked for.

What you can do

Adjust the Accept header, for example to application/json.

Example response

application/problem+json
{
  "type": "https://docs.atlas.ilionx.dev/errors/NOT_ACCEPTABLE",  "title": "Not Acceptable",  "status": 406,  "detail": "The endpoint cannot produce a response in the format you asked for.",  "instance": "/v1/…",  "errorCode": "NOT_ACCEPTABLE"}

Branch on errorCode, not on detail: the code is stable, the wording may change.