506 Variant Also Negotiates

5xx Server error

A server configuration error makes content negotiation loop on itself.

On the wireHTTP/1.1 506 Variant Also Negotiates
Code506
Is it an errorYes — this is an error
Category5xx Server error

The problem is on the server side; retrying later is often worth it.

How to read this

  • The first digit of a status code carries the meaning: 4 means the request, 5 means the server.
  • 404 means "not there"; 403 means "there, but not for you". Swapping them makes debugging slower.
  • Header names are case-insensitive — Content-Type and content-type are the same header.
  • Caching and CORS problems usually come down to one header line, visible in the browser’s network tab.

Frequently asked questions

Q. What does HTTP 506 Variant Also Negotiates mean?

A server configuration error makes content negotiation loop on itself.

Q. What does 506 Variant Also Negotiates look like on the wire?

It travels as HTTP/1.1 506 Variant Also Negotiates

Q. Is 506 Variant Also Negotiates an error?

Yes. A code starting with 4 blames the request; one starting with 5 blames the server.

Q. What group does 506 Variant Also Negotiates belong to?

The 5xx server error group; the rest of that group is listed further down.

Same group

Reference docs