406
Not Acceptable
Client Error
Description
The requested resource is capable of generating only content not acceptable according to Accept headers
Common Usage
Server can't produce response matching client's Accept headers
Example Response
How this status code appears in HTTP responses
HTTP Response Header
HTTP/1.1 406 Not AcceptablecURL Example
curl -I https://example.com
# Returns: HTTP/1.1 406 Not AcceptableClient Error Response
This is a client error response indicating the request contains bad syntax or cannot be fulfilled.
Related Client Error Codes
Other codes in the same category