Search tools

Find a tool by name or what it does.

406Not Acceptable

The server cannot produce the response in any format your Accept headers said you would take.

Browse all HTTP status codes

When you see it

Usually an Accept header asking for something the endpoint cannot produce, such as requesting XML from an API that only speaks JSON. Most servers ignore the negotiation and send their default format instead, which is why 406 is uncommon.

The fix is nearly always to widen or remove the Accept header rather than to change the server. Some HTTP clients set a restrictive default that the person writing the request never chose, so it is worth checking what was actually sent.

Look up another one

Open

Type a code, a partial code like 40, or any word from a name or description. Everything runs in your browser.

Filter
Copy format
Status codes

69 of 69 codes. Click a row to copy it.

1xx Informational (4)
2xx Success (10)
3xx Redirection (8)
4xx Client errors (31)
5xx Server errors (16)