- Software and digital services
- HTTP service
506
HTTP 506 Variant Also Negotiates: circular TCN endpoint loop
Risk level
Medium
Proceed carefully and stop if the check is unclear.
Urgency
Medium
Quick answer
HTTP 506 Variant Also Negotiates means a server configuration error makes the chosen variant resource negotiate content again. Note the failing URL and response headers, and ask the site administrator to fix the server variant map.
Safety first
Stop and check this first
- Never modify live server rewrite rules or content-negotiation directives without backing up the configuration and testing each variant URI; an unverified wildcard rule in a negotiable directory can turn every page on the host into a 506 loop.
Safe checks you can perform
- Compare the failing URL against direct variant URIs and other site pages
- Inspect Negotiate, Accept, and Accept-Language headers that select the faulty variant
- Audit the origin server variant map, type-map file, or multiviews rules
Leave these tasks to a qualified professional
- Do not attempt this professional task: Verify all language and media-type combinations in the Alternates list
- Do not attempt this professional task: Point every variant entry to a non-negotiating endpoint resource
What a technician must be able to justify
Technician visit
These are the steps they must carry out and show you. Tick them as they work: if steps are skipped, do not accept a part swap.
These are not instructions for opening or handling the equipment yourself. They are the checks that should support a technical conclusion.
Verify all language and media-type combinations in the Alternates list
What they doHave the developer or QA engineer test each variant described in the resource's Alternates list across all supported Accept and Accept-Language combinations to confirm none re-enters content negotiation.
They must show youa test report of every variant URI in the Alternates header returning its expected Content-Type and Content-Language.
In writingthe complete list of tested variant URIs, response status codes, and Cache-Control/Vary headers verified.
Point every variant entry to a non-negotiating endpoint resource
What they doHave the web server administrator or site developer update the variant list, type-map file, or rewrite rules so that each variant URI resolves directly to a static file or final handler that does not perform transparent content negotiation.
They must show youthe corrected variant map alongside GET and HEAD responses returning 200 OK (or a valid TCN choice/list response) without 506.
In writingthe exact variant URI mapping changed, the server configuration file path, and the deployment diff.
Before accepting a part or repair
Nothing has been shown yet. Do not accept a part swap based on the code alone.
Follow these steps
Note: Follow the documented order. An error code identifies the affected system, but it does not prove by itself which part has failed.
Compare the failing URL against direct variant URIs and other site pages
- Who:
- You or your developer can run this check in a browser or HTTP client without touching server files.
- How:
- Request another page on the same host and, if known or listed in an Alternates response header, request a specific variant URI directly (for example, the language-specific or format-specific filename).
- Result that matters:
- RFC 2295 Section 8.3 and Section 8.1 define the Alternates variant list and require each chosen variant to be a proper endpoint rather than a negotiable resource.
- If only one URL (or one direct variant URI) returns 506 while other routes return 200 OK, that isolates the circular configuration to that specific resource's variant list.
- If requesting a supposed variant URI directly also triggers negotiation headers or returns 506, that confirms the variant resource itself is configured to negotiate.
- Evidence to keep:
- Record the exact URLs tested, any Alternates, Vary, or TCN response headers, and the timestamps.
Evidence: RFC 2295 - Transparent Content Negotiation
Inspect Negotiate, Accept, and Accept-Language headers that select the faulty variant
- Who:
- Your developer tests the failing GET or HEAD request with controlled negotiation headers.
- How:
- Capture the outgoing Negotiate, Accept, Accept-Language, and Accept-Features headers, then repeat the GET or HEAD request with different language or media-type preferences.
- Result that matters:
- Under RFC 2295 Section 12.1 and Section 12.2, transparent content negotiation applies to GET and HEAD transactions and selects among variants based on client preferences.
- If changing Accept-Language or Accept causes one preference to return 200 OK while another returns 506, that pinpoints which specific entry in the server's variant list is misconfigured as negotiable.
- If every GET and HEAD combination returns 506 on that URI, that indicates all listed variants or the parent handler loop back into negotiation.
- Evidence to keep:
- Save the exact request header sets and the corresponding HTTP status and Alternates header for each run.
Do not attempt to edit production web server rewrite or negotiation files without a verified backup of the current configuration.
Evidence: RFC 2295 - Transparent Content Negotiation
Audit the origin server variant map, type-map file, or multiviews rules
- Who:
- Your web server administrator inspects the origin server configuration.
- How:
- Locate the variant list, type-map file, or directory negotiation directives bound to the failing URI and check the target file path of every variant entry.
- Result that matters:
- RFC 2295 Section 12.1 states that the author of the negotiable resource must ensure that variant resources in the variant list do not engage in transparent content negotiation themselves.
- If a variant target points to another type-map file, a stem name with multiviews enabled, or a rewrite target that re-triggers negotiation, that confirms the exact source of the 506 error.
- If the static variant files are proper endpoints, that points to an upstream gateway or application middleware generating 506 or rewriting variant paths.
- Evidence to keep:
- Keep a copy of the offending variant map or server block and the server error log entry before making changes.
Evidence: IANA HTTP Status Code Registry · RFC 2295 - Transparent Content Negotiation
Still not solved
If the error persists, stop here. See what the technician must do and show you.
Where this code applies
A code is meaningful only inside the right product and version context.
Primary scope
- System
- Software and digital services
- Brand
- HTTP
- Product type
- HTTP service
Known code variants
- 506 Anche la variante negozia
- 506 La variante négocie aussi
- 506 La variante también negocia
- 506 Variant Also Negotiates
- 506 Variante verhandelt ebenfalls
- HTTP 506
- HTTP status 506
What it means
Experimental RFC 2295 Section 8.1 defines 506 (Variant Also Negotiates) as an internal server configuration error during Transparent Content Negotiation (TCN): the selected variant resource is itself configured to negotiate content, so it is not a proper negotiation end point. Section 12.1 requires the author to ensure that resources in the Alternates variant list serve final content without negotiating again. A 506 response alone cannot identify the faulty mapping or rewrite rule and does not prove server hardware or capacity failure.
Warnings and stop conditions
- Mediumeditorial warning
Never modify live server rewrite rules or content-negotiation directives without backing up the configuration and testing each variant URI; an unverified wildcard rule in a negotiable directory can turn every page on the host into a 506 loop.
Evidence: RFC 2295 - Transparent Content Negotiation
Symptoms and causes
Probable causes · in order
- Chosen variant resource configured as another negotiable resourceConfirmed
In RFC 2295 Section 8.1 and Section 12.1, a negotiable resource binds a variant list (often exposed in an Alternates header), but the selected variant URI points to another type-map or negotiable resource instead of a final representation endpoint.
Evidence: IANA HTTP Status Code Registry · RFC 2295 - Transparent Content Negotiation
- Server rewrite or multiviews rule routing direct variant URIs back into negotiationPossible
When a web server's content-negotiation module or URL rewrite rule maps a specific language or media-type variant URI (such as paper.1 or index.en.html) back to the negotiable parent resource, variant selection enters a negotiation chain and aborts with 506.
Evidence: RFC 2295 - Transparent Content Negotiation
Virtual technician
Does 506 still appear after these checks?
Answer a few questions to narrow down the likely cause and the safest next action. Guidance only - it never replaces a professional.
Sources and technical references
- 1
IANA HTTP Status Code Registry
Internet Assigned Numbers Authority · 2025 · standard
- 2
RFC 2295 - Transparent Content Negotiation
IETF / RFC Editor · 1998 · standard
Was this entry useful?