4xx Client Error

HTTP 426 Upgrade Required

The server refuses to perform the request using the current protocol but might do so after the client upgrades to a different protocol. The server sends an Upgrade header to indicate the required protocol.

Common Causes

  • Server requires HTTPS but request was sent over HTTP
  • Server requires a newer HTTP protocol version
  • WebSocket upgrade required for this endpoint

How to Fix

  1. 1Switch to the protocol specified in the Upgrade header
  2. 2Use HTTPS instead of HTTP
  3. 3Upgrade your client to support the required protocol

Example

HTTP 426 Upgrade Required
GET /api HTTP/1.1

→ 426 Upgrade Required
→ Upgrade: TLS/1.3
→ Connection: Upgrade

Related Client Error Codes