HTTP

HTTP 506 Variant Also Negotiates vs 508 Loop Detected

Both HTTP 506 (Variant Also Negotiates) and 508 (Loop Detected) belong to the 5xx Server Error category. 506 indicates that the server has an internal configuration error: the chosen variant resource is configured to engage in content negotiation itself. Meanwhile, 508 means that the server detected an infinite loop while processing the request (WebDAV).

Description

The server has an internal configuration error: the chosen variant resource is configured to engage in content negotiation itself.

When You See It

Rare. Indicates a misconfigured server-side content negotiation loop.

How to Fix

Fix the server's content negotiation configuration.

Description

The server detected an infinite loop while processing the request (WebDAV).

When You See It

When WebDAV encounters circular references in bindings.

How to Fix

Fix the circular reference in the WebDAV configuration.

Key Differences

1.

HTTP 506: The server has an internal configuration error: the chosen variant resource is configured to engage in content negotiation itself.

2.

HTTP 508: The server detected an infinite loop while processing the request (WebDAV).

3.

You encounter 506 when rare. Indicates a misconfigured server-side content negotiation loop.

4.

You encounter 508 when when WebDAV encounters circular references in bindings.

When to Use Which

For 506 (Variant Also Negotiates): Fix the server's content negotiation configuration. For 508 (Loop Detected): Fix the circular reference in the WebDAV configuration.

Learn More