All HTTP status codes

HTTP 426 Upgrade Required

Client Error

The server refuses to serve the request over the current protocol; the Upgrade header says which protocol to switch to.

Defined in RFC 9110

Common causes

  • Endpoints that require switching protocols (e.g. to TLS or HTTP/2)

How to fix it

  1. Reconnect using the protocol named in the Upgrade header

Want to explore status codes interactively? Try the free HTTP Status Code Reference — search, categories and example responses, right in your browser.