Skip to content
Skip to content
← All Status Codes
426
Client Error

426 Upgrade Required

The client should switch to a different protocol, as indicated by the Upgrade header field.

Description

426 Upgrade Required indicates that the server refuses to perform the request using the current protocol but may accept the request after the client upgrades to a different protocol. The server must include an Upgrade header specifying the required protocol(s).

Commonly used to enforce TLS (HTTPS) connections or to require WebSocket upgrade.

Common Causes

  • HTTP request to a server that requires HTTPS
  • WebSocket handshake requiring protocol upgrade
  • Legacy API enforcing minimum TLS version
  • HTTP/1.1 client connecting to an HTTP/2-only endpoint

How to Fix

  • Switch to the protocol specified in the Upgrade response header
  • Ensure all connections use HTTPS (implement HSTS)
  • For WebSockets, send a proper Upgrade request
  • Update client to support the required protocol version

Check your website's HTTP status code

Check now →

Related Status Codes