@http · HTTP status codes, explained HTTP/1.1 426 Upgrade Required ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4xx · Client error Switch to a different protocol and try again. 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 related 101 Switching Protocols   505 HTTP Version Not Supported   400 Bad Request spec RFC 9110 §15.5.22 https://www.rfc-editor.org/rfc/rfc9110#section-15.5.22 web https://athttp.com/426 ← curl athttp.com/425 curl athttp.com/428 →