Skip to content
4xx · Client Error

400 Bad Request

The server could not understand the request due to malformed syntax.

What it means

HTTP 400 Bad Request means the server rejected the request because something about it was malformed — invalid syntax, a corrupted request, an oversized header, or parameters the server cannot parse.

When it happens

It happens with broken query strings, malformed JSON in an API call, cookies or headers that are too large, or a client sending data the server cannot interpret.

How to fix it

  • Check the request syntax — validate JSON bodies and properly encode query parameters.
  • Clear oversized or corrupted cookies for the site if browsing triggers the error.
  • Reduce header size if a Request Header Too Large variant appears.
  • Inspect server logs to see exactly which part of the request was rejected.

SEO impact

Negative if it affects real URLs. A page returning 400 cannot be indexed. If important URLs return 400 from bad internal links or malformed parameters, fix the links so crawlers reach valid 200 pages.

Check it with Sitewell

Find out which of your URLs return 400

Paste a list of URLs and Sitewell checks the status code of every one at once — free and without signup.

Related codes

Related guides