WhereGoes

400 Bad Request

4xx client error

The server cannot process the request because the syntax is malformed, including bad URL encoding, invalid headers, or an unparseable body.

Common causes

  • The URL contains raw spaces or unescaped characters.
  • Required headers are missing or malformed.
  • The request body is truncated or fails JSON parsing.

How to fix it

  • Percent-encode URL segments and query values correctly.
  • Check Content-Type and Content-Length against the body actually sent.
  • Return a diagnostic message naming the malformed field.

What it means for redirects and SEO

A malformed request never reaches content, so crawlers record an error for the URL. Bad URL encoding from internal links is a common culprit. Fix the encoding and the URL becomes indexable again.

Related codes