Back to all status codes

506

Variant Also Negotiates

Server Error
RFC 2295

The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.

Detailed Information

The 506 status code indicates that the server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.

Common Examples

  • API requests with variant negotiation errors
  • Web page requests with variant negotiation errors

Common Uses

  • API requests with variant negotiation errors
  • Web page requests with variant negotiation errors

Best Practices

  • Use when the server has an internal configuration error
  • Include a detailed error message
  • Ensure proper server configuration and variant negotiation

Additional Resources

Read more on MDN