HTTP 421 Misdirected Request — What It Means & How to Fix It
Error4xx client error
Overview
The HTTP 421 Misdirected Request status code indicates the request was directed to a server that is unable to produce a response for the given URI.
Key Details
- This can occur when an HTTP/2 connection is reused for a request to a different origin.
- The server is indicating it is not the correct server for this request.
- The client should retry the request on a different connection.
- Common with misconfigured TLS certificates or virtual hosts.
Common Causes
- HTTP/2 connection coalescing directed the request to the wrong server.
- The TLS certificate does not cover the requested domain.
- Virtual host misconfiguration on the server.
- CDN or load balancer routing error.
Steps
- 1Retry the request on a new connection without reusing the existing one.
- 2Verify the server TLS certificate covers the requested domain.
- 3Check virtual host and server configuration.
- 4Review CDN or load balancer routing rules.
Tags
httpclient-errormisdirectedhttp2tls
Related Items
More in 4xx Client Error
http-400-bad-requestHTTP 400 Bad Request — What It Means & How to Fix It
Errorhttp-401-unauthorizedHTTP 401 Unauthorized — What It Means & How to Fix It
Errorhttp-402-payment-requiredHTTP 402 Payment Required — What It Means & How to Fix It
Errorhttp-403-forbiddenHTTP 403 Forbidden — What It Means & How to Fix It
Errorhttp-404-not-foundHTTP 404 Not Found — What It Means & How to Fix It
Errorhttp-405-method-not-allowedHTTP 405 Method Not Allowed — What It Means & How to Fix It
ErrorFrequently Asked Questions
It means the request was sent to a server that cannot handle it. This often happens with HTTP/2 connection reuse when the server is not configured for the requested domain.