421 Misdirected Request

HTTP 421 Misdirected Request is a 4xx client error status. The request reached a server that cannot answer for that host, often due to connection reuse.

421Status code
4xxClient error
NoCacheable by default
RFC 9110 §15.5.20Defined in

Common causes

What to do

Clients retry on a new connection; servers should check TLS SNI and Host settings.

Example response

HTTP/1.1 421 Misdirected Request
Content-Type: application/problem+json

{"status":421,"title":"Misdirected Request"}

Returning 421 in code

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

Other 4xx codes

Frequently asked questions

What does HTTP 421 mean?
The request reached a server that cannot answer for that host, often due to connection reuse.
Is 421 an error?
Yes. It is a client error: the request needs to change before retrying.
Does a 421 hurt SEO?
If search engines see it repeatedly on pages that should rank, those pages can be dropped from the index. Fix it quickly.