406

Not Acceptable

Client errors (4xx)·RFC 9110

What 406 means

The resource cannot produce a response matching the client’s Accept headers.

Occurs in content negotiation when no available representation matches the requested type, language or encoding.

Client errors (4xx)

The request contains an error from the client — bad syntax, missing auth or a wrong URL.

Other 4xx codes

FAQ — 406

What does HTTP 406 mean?

406 Not Acceptable: The resource cannot produce a response matching the client’s Accept headers. Occurs in content negotiation when no available representation matches the requested type, language or encoding.

Which class does status code 406 belong to?

406 is a Client errors (4xx) code. The request contains an error from the client — bad syntax, missing auth or a wrong URL.

Where is the 406 code defined?

Status code 406 is defined in RFC 9110 and is part of the IANA HTTP Status Code Registry.

← All HTTP status codes