# Not acceptable

`not_acceptable` · HTTP 406 · Methods and media types

The Accept header rules out the only media type this operation returns.

## What to do

Accept application/json, or omit the Accept header.

## Where this comes from

- Problem type: <https://layersofthesouth.org/problems/not_acceptable>
- All problem types: <https://layersofthesouth.org/developers/errors#not_acceptable>
- Operations and their responses: <https://layersofthesouth.org/api/v1/openapi.json>
- API catalogue: <https://layersofthesouth.org/.well-known/api-catalog>

Every error from the HTTP API is an `application/problem+json` document (RFC 9457) whose `code` is the identifier above. The tool endpoint (MCP) carries the same identifier in `error.data.code`, and a tool result with `isError: true` carries it in `result._meta["org.layersofthesouth/problem"].code`, beside `type`, `status` and `field`; the agent endpoint (A2A) carries it in `error.data[0].code`, in an object whose `@type` is the problem type URL.
