HTTP 506 Variant Also Negotiates — What It Means & How to Fix It
Critical5xx server error
Overview
The HTTP 506 Variant Also Negotiates status code indicates that the server has an internal configuration error where the chosen variant resource is configured to engage in content negotiation itself.
Key Details
- This status code is defined in RFC 2295 for Transparent Content Negotiation.
- It indicates a circular reference in content negotiation configuration.
- The chosen variant should provide a fixed response, not negotiate further.
- It is extremely rare in practice.
Common Causes
- Misconfigured transparent content negotiation on the server.
- A variant resource incorrectly configured to also perform content negotiation.
- Circular reference in the server content negotiation setup.
Steps
- 1Fix the server content negotiation configuration to break the circular reference.
- 2Ensure variant resources return fixed responses without further negotiation.
- 3Review the Alternates header for misconfigured variants.
- 4Simplify content negotiation rules on the server.
Tags
httpserver-errorcontent-negotiationconfiguration
Related Items
More in 5xx Server Error
http-500-internal-server-errorHTTP 500 Internal Server Error — What It Means & How to Fix It
Criticalhttp-501-not-implementedHTTP 501 Not Implemented — What It Means & How to Fix It
Criticalhttp-502-bad-gatewayHTTP 502 Bad Gateway — What It Means & How to Fix It
Criticalhttp-503-service-unavailableHTTP 503 Service Unavailable — What It Means & How to Fix It
Criticalhttp-504-gateway-timeoutHTTP 504 Gateway Timeout — What It Means & How to Fix It
Criticalhttp-505-http-version-not-supportedHTTP 505 HTTP Version Not Supported — What It Means & How to Fix It
CriticalFrequently Asked Questions
It means the server has a misconfiguration in its content negotiation setup, creating a circular reference where a variant also tries to negotiate.