426 Upgrade Required

Switch to a different protocol.

Status code
426
Reason phrase
Upgrade Required
Class
4xx Client errors

What does 426 Upgrade Required mean?

The server refuses the request with the current protocol and asks the client to upgrade, e.g. to TLS or HTTP/2.

Common causes

How to fix it

426 and webhooks

Rare.

Test how your client handles 426

In the webhook tester you can add a response rule that answers 426 — useful to check retries, error handling and alerts before production.

FAQ

What does HTTP 426 mean?

Switch to a different protocol. The server refuses the request with the current protocol and asks the client to upgrade, e.g. to TLS or HTTP/2.

Is 426 an error?

Yes — a client error: the request must be changed before retrying.

Other 4xx codes

400 Bad Request · 401 Unauthorized · 402 Payment Required · 403 Forbidden · 404 Not Found · 405 Method Not Allowed · 406 Not Acceptable · 408 Request Timeout · 409 Conflict · 410 Gone · 411 Length Required · 412 Precondition Failed · 413 Content Too Large · 414 URI Too Long · 415 Unsupported Media Type · 418 I'm a teapot · 422 Unprocessable Content · 425 Too Early · 428 Precondition Required · 429 Too Many Requests · 431 Request Header Fields Too Large · 451 Unavailable For Legal Reasons · 499 Client Closed Request

← 425   All status codes   428 →

About HTTP 426

426 Upgrade Required is part of the 4xx class: client errors, meaning the request itself must change.

Retrying a 426 without changing the request usually gives the same answer; log the response body, it often names the bad field or header.

When debugging, compare the 426 with server logs at the same timestamp and check proxies or CDNs in between — they can generate a 426 before your app is reached.