What does HTTP status 506 (Variant Also Negotiates) mean?

 
Previous Next
HTTP_STATUS_VERSION_NOT_SUPPORTED HTTP_STATUS_INSUFFICIENT_STORAGE

HTTP_STATUS_VARIANT_ALSO_NEGOTIATES

It indicates that the selected variant is itself configured to negotiate, creating a circular reference. This is a server configuration problem rather than a request formatting problem.

Review variant maps, negotiation metadata, and rewrite rules. Remove the recursion so that a selected variant resolves to a concrete representation.

The failure belongs to server-side variant configuration. Trace which negotiable resource selected another negotiable resource and break that cycle by making the final choice resolve to a concrete representation. Client Accept headers can expose the misconfiguration, but repeatedly changing them is not a reliable repair for a recursive variant map.

RFC 9110: HTTP Semantics


Looking for a different code? Search another status or error code.