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
- 1Switch to the protocol specified in the Upgrade header
- 2Use HTTPS instead of HTTP
- 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
400
Bad Request
401Unauthorized
402Payment Required
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
407Proxy Authentication Required
408Request Timeout
409Conflict
410Gone
411Length Required
412Precondition Failed
413Content Too Large
414URI Too Long
415Unsupported Media Type
416Range Not Satisfiable
417Expectation Failed
418I'm a Teapot
421Misdirected Request
422Unprocessable Content
423Locked
424Failed Dependency
425Too Early
428Precondition Required
429Too Many Requests
431Request Header Fields Too Large
451Unavailable For Legal Reasons