506 Variant Also Negotiates

A content negotiation misconfiguration: the chosen variant is itself a negotiable resource, creating a circular reference.

Status

HTTP/1.1 506 Variant Also Negotiates

Details

506 comes from transparent content negotiation. The server picked a variant to satisfy the request, and that variant turned out to be another negotiable resource rather than a concrete representation, so negotiation cannot terminate.

It is purely a server configuration error, and it is extremely rare because transparent content negotiation was never widely deployed.

Common causes

How to fix it

As the client

As the server

Examples

GET /docs/manual HTTP/1.1
Host: www.example.com
Negotiate: trans

HTTP/1.1 506 Variant Also Negotiates

Specifications

RFC 2295 §8.1

See also