| Previous | Next |
| HTTP_STATUS_BAD_METHOD | HTTP_STATUS_PROXY_AUTH_REQ |
HTTP_STATUS_NONE_ACCEPTABLE
The server has no representation it is willing to send that satisfies headers such as Accept, Accept-Language, or Accept-Encoding. Many servers choose a default representation instead, so 406 is relatively uncommon.
Log the complete negotiation headers and compare them with the formats the endpoint actually produces. Avoid sending overly restrictive media-type or language requirements.
Inspect the request's Accept, Accept-Language, Accept-Encoding, or other representation preferences together with the variants the server can produce. The client can relax those preferences when acceptable, or the server can add a supported representation. Changing authentication or retry timing does not resolve a true representation-negotiation mismatch.
Looking for a different code? Search another status or error code.