Error Codes Wiki

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

  1. 1Retry the request on a new connection without reusing the existing one.
  2. 2Verify the server TLS certificate covers the requested domain.
  3. 3Check virtual host and server configuration.
  4. 4Review CDN or load balancer routing rules.

Tags

httpclient-errormisdirectedhttp2tls

Related Items

More in 4xx Client Error

Frequently 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.