HTTP 506 Variant Also Negotiates
HTTP 506 Variant Also Negotiates indicates a configuration error in transparent content negotiation. The selected variant is itself configured to negotiate, so the server cannot complete the expected selection.
Find the variant that leads back to negotiation
A server might select a language-specific document after reading Accept-Language. If the selected URI points to another negotiated endpoint where a concrete representation should exist, the origin can return 506. Inspect the configured mapping between the public URI and its variants.
Compare variant selection at the origin and edge
Collect the negotiation headers from the failing request and find the selected URI in the origin’s logs. Compare a request for the concrete variant with one for the negotiated resource. Check intermediary caching rules after correcting the origin configuration so that clients receive the right language or format.
Reproduce the selection with a concrete document
Consider a multilingual manual with a negotiated address /manual and concrete resources for the English and Spanish versions. When the server selects the Spanish representation, the selected path should lead to the document that serves it. If the path accidentally targets a second transparent negotiation rule, review the variant map and check that each configured variant has a terminal resource.
Check whether the edge is repeating an old result
Repeat the same benign GET with the relevant negotiation header and record the response at the origin as well as at the edge. Compare the returned metadata and any cache age when available. When the variant mapping has been repaired, verify the affected language or format through the public route. Keep the input headers fixed so changes in selection and changes in network path can be diagnosed separately.