No acceptable representation available
Section: Codes 400-409
HTTP 406 Not Acceptable
text
text
curl -i -H 'Accept: application/xml' https://example.com/json-onlyExplanation
Occurs when content negotiation cannot satisfy the `Accept` headers.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Codes 400-409