---
title: "426 Upgrade Required"
canonical: "https://lemwatch.com/http-status-codes/426"
category: "client-error"
last_verified: "2026-12-01"
source: "https://lemwatch.com"
---

# HTTP 426 Upgrade Required

**TL;DR** — 426 means "use a different protocol". Read the Upgrade header in the response: it names what the server wants. Most often a WebSocket address was called as a normal page, or the client is too old.

## What it means

HTTP 426 Upgrade Required means the server refuses to carry out the request using the protocol the client chose, and might do so after the client switches. The response has to include an Upgrade header naming the protocol required. It is seen on WebSocket endpoints reached with an ordinary request, and on services that demand a newer HTTP or TLS version than the client used.

## Common causes

- Opening a WebSocket address with a normal HTTP request instead of a WebSocket handshake
- A proxy or load balancer removing the Upgrade and Connection headers a WebSocket needs
- A client using an HTTP version older than the service requires
- An out-of-date client library or runtime, when an API has raised its minimum version

## How to fix

- Read the Upgrade header in the response to see the protocol required
- For WebSockets, connect with a WebSocket client and a ws:// or wss:// address
- Configure the proxy to pass WebSocket upgrades through, for example the Upgrade and Connection headers in nginx
- Update the client library, runtime or operating system if the service needs a newer protocol version

## SEO impact

A public page should not return 426. If one does, crawlers cannot fetch it and it is treated like any other 4xx, so it will not be indexed.

## Monitoring tip

If a real-time feature such as chat or live updates stops working after a proxy change, look for 426 on the WebSocket address. It means the upgrade headers are being dropped on the way.

**Related:** [101](https://lemwatch.com/http-status-codes/101.md), [400](https://lemwatch.com/http-status-codes/400.md), [505](https://lemwatch.com/http-status-codes/505.md)

_Canonical HTML page: https://lemwatch.com/http-status-codes/426_
