5xx Server Error
HTTP 506 Variant Also Negotiates
The server has an internal configuration error: the chosen variant resource is configured to engage in content negotiation itself, resulting in a circular reference during negotiation.
Common Causes
- Misconfigured content negotiation on the server
- Circular reference in variant resource configuration
- Transparent content negotiation failure
How to Fix
- 1Fix the server's content negotiation configuration
- 2Remove circular references in variant mappings
- 3Simplify content negotiation rules
Example
HTTP 506 Variant Also Negotiates
GET /page HTTP/1.1 Accept: text/html → 506 Variant Also Negotiates → Server variant creates a negotiation loop