All HTTP status codes
HTTP 406 Not Acceptable
Client ErrorThe server can't produce a response matching the client's Accept headers (content type, language, encoding).
Defined in RFC 9110
Common causes
- Accept header demands a representation the server doesn't offer
How to fix it
Loosen the Accept header (e.g. application/json, */*)
On the server, support the formats clients realistically request
Related status codes
415 Unsupported Media Type
The server refuses the request because the body's media type (Content-Type/Content-Encoding) isn't supported by the endpoint.
300 Multiple ChoicesMore than one representation of the resource exists and the client should pick one. Rarely used — most servers pick a representation themselves.
Want to explore status codes interactively? Try the free HTTP Status Code Reference — search, categories and example responses, right in your browser.