426 Upgrade Required

Switch to a different protocol and try again.

4xx · Client error

What it means

The server refuses to handle the request over the current protocol, but would after the client switches to the one named in the Upgrade header.

Why you're seeing it

  • A service that requires a newer protocol or TLS.
  • A WebSocket endpoint requested over plain HTTP.
  • Some APIs (non-standard) use it to say the client app version is too old.

How to fix it

  • Switch to the protocol in Upgrade, such as HTTPS or WebSocket.
  • Update the client library or app.

Example response

HTTP/1.1 426 Upgrade Required
Upgrade: TLS/1.3, HTTP/1.1
Connection: Upgrade
Content-Length: 0