Skip to content

not_acceptable

Error codeView as Markdown

The requested media type is not available. The Accept header asks for a format this endpoint cannot return.

  • HTTP status: 406 Not Acceptable
  • CLI exit code: 1 (not signed in)
  • Retry: not as it is; the same request will fail the same way until the cause is fixed

Send Accept: application/json.

{
"type": "https://guv.dev/errors/not_acceptable",
"title": "The requested media type is not available",
"status": 406,
"code": "not_acceptable",
"detail": "The `Accept` header asks for a format this endpoint cannot return.",
"fix": "Send Accept: application/json.",
"docs_url": "https://guv.dev/errors/not_acceptable",
"request_id": "req_01jbx2m9k7q4r8t5v6w3y0z1rq"
}

The code field is stable: match on it, not on title or detail, which may be reworded.