426 Upgrade Required

HTTP 426 Upgrade Required is a 4xx client error status. The server refuses the request on the current protocol and requires an upgrade.

426Status code
4xxClient error
NoCacheable by default
RFC 9110 §15.5.22Defined in

Common causes

What to do

Follow the protocol named in the Upgrade header.

Example response

HTTP/1.1 426 Upgrade Required
Content-Type: application/problem+json

{"status":426,"title":"Upgrade Required"}

Returning 426 in code

Express   res.status(426).json({ … });
Flask     return jsonify(…), 426
PHP       http_response_code(426);
Go        w.WriteHeader(426)
nginx     return 426;

Other 4xx codes

Frequently asked questions

What does HTTP 426 mean?
The server refuses the request on the current protocol and requires an upgrade.
Is 426 an error?
Yes. It is a client error: the request needs to change before retrying.
Does a 426 hurt SEO?
If search engines see it repeatedly on pages that should rank, those pages can be dropped from the index. Fix it quickly.