506 Variant Also Negotiates

Server-side variant negotiation has selected a resource that participates in negotiation itself, creating an invalid configuration.

All HTTP status codes

What does HTTP 506 mean?

This uncommon code belongs to transparent content negotiation. A configuration can mistakenly list a negotiable resource as its own deliverable alternative, preventing the server from reaching a final representation. Concentrate on variant metadata and routing rather than the application database. If your stack does not intentionally use this negotiation mechanism, locate the server module or custom handler emitting the response.

An investigation example

Illustrative document-variant investigation
Response: 506 Variant Also Negotiates
The language variant map points back to the negotiable document.
Action: point variants at concrete language files.
Verify: each supported language selection returns the intended document without repeating negotiation.

Common causes

  • A transparent-negotiation setup treats another negotiable resource as a final variant.
  • An incorrect variant map or server rule creates recursive representation selection.

Diagnose the response

Inspect the variant map and make sure each offered variant resolves to a concrete representation.

  • Inspect the resource's variant map and negotiation configuration. Follow each candidate until you find a concrete file or endpoint that does not negotiate again.
  • Check changes to language variants, type maps and extensionless routing. Remove cycles and accidental references back to the original negotiation resource.
  • Validate the server configuration and request both the negotiated URL and its direct variants. Confirm that a supported Accept header now selects the intended document.

What it means for website monitoring

Test the affected negotiated URL and representative language or format requests. Unrelated pages can remain healthy while one variant configuration is broken.

Reference