Free auditStart free
GuideError · HTTP status codes

HTTP 400 Bad Request

HTTP 400 means the server rejected the request as malformed. See the usual causes, how visitors clear it, and how developers fix it on nginx, Apache and Cloudflare.

5 min
read
7
sources
Oct 21, 2026
updated
Scaplet Editorial Team
author
The short answer

HTTP 400 Bad Request means the server cannot or will not process a request because it looks like a client error, such as malformed syntax, broken message framing or deceptive routing. MDN says to expect that repeating the same request will fail the same way. Visitors can check the URL and clear site cookies. Developers should inspect the exact request and the limits on headers.

  1. What does HTTP 400 mean?
  2. Who causes it and what to check
  3. How a visitor gets past a 400
  4. How a developer finds the cause
  5. What it does to SEO
30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

What does HTTP 400 mean?

RFC 9110 says the 400 (Bad Request) status code indicates that the server cannot or will not process the request due to something perceived to be a client error. Its examples are malformed request syntax, invalid request message framing and deceptive request routing. MDN adds a practical rule: "Clients that receive a 400 response should expect that repeating the request without modification will fail with the same error."

400 is the catch-all for a request that the server could not make sense of. It is different from a 404, where the request was fine but nothing exists at that URL, and from a 405, where the method is not supported for the resource. When the request is well-formed but clashes with the resource's current state, that is the job of a 409.

Most 400s are caused by the client or by something that changed the request on its way: a browser extension, a proxy, an API client or a script. Occasionally the server's own limits are too tight for normal traffic.

03How it works

How a visitor gets past a 400

  1. 01

    Check the URL

    Remove odd characters, pasted spaces or an extra copy of the address. Load the page again from the site's home page.

  2. 02

    Clear cookies for that site only

    An oversized or corrupt cookie travels in a header field on every request. Clearing cookies for the one site is enough, and keeps your other logins.

  3. 03

    Try a private window

    If the page loads there, an extension or stored data is changing your requests.

  4. 04

    Turn off extensions and VPNs briefly

    Anything that edits headers or routes traffic can produce a malformed request.

  5. 05

    Report it

    If it still fails on a clean browser, the site is rejecting normal traffic. Tell the owner the exact URL and time.

04How it works

How a developer finds the cause

  1. 1

    Capture the exact request

    Use curl -v or the browser's Network panel and copy the request line, headers and body. A 400 often hides in a single header or a stray character.

  2. 2

    Read the response body

    APIs usually say what was wrong. MDN's example returns a JSON body with a message field so the client can fix the request and retry.

  3. 3

    Check header and line limits

    nginx returns 400 when a request header field exceeds one buffer of large_client_header_buffers (default 4 8k), and 414 when the request line does. Apache's LimitRequestFieldSize and LimitRequestLine both default to 8190 bytes.

  4. 4

    Check each layer

    Send the same request to the origin and through the CDN. If only the proxied request fails, the proxy is rejecting or rewriting it.

Raise header buffers only if real traffic needs it
http {
    large_client_header_buffers 4 16k;
}
05Explained

What it does to SEO

Google treats a 400 like other 4xx errors except 429: it tells the next processing system that the content doesn't exist. A URL that was indexed and starts returning 400 is removed from the index, and Google's crawl frequency for it gradually decreases. If Search Console reports 400s, check that your own links, sitemaps and redirects don't produce malformed URLs. See 4xx errors for how to audit them.

Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01What does HTTP status 400 mean?

The server cannot or will not process the request because it looks like a client error: malformed syntax, invalid message framing or deceptive routing. RFC 9110 defines it. MDN says clients should expect that repeating it without changes fails the same way.

02How do I fix an HTTP 400 error?

Check the URL, clear cookies for the site, and retry. If you build the client, capture the exact request, validate its body and headers, and read the response message. Server owners should check header size limits.

03What is the difference between HTTP 400 and 409?

A 400 means the request itself was malformed or invalid. A 409 means the request was understood but conflicts with the current state of the resource, and the user might be able to resolve the conflict and resubmit.

04Is a 400 error my fault or the website's?

Usually the request is at fault, but the cause can be a browser extension, a proxy, or server limits set too low. A clean browser and a copied curl request separate the cases.

Sources · 7

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • rfc-editor.org
  • mozilla.org
  • cloudflare.com
  • nginx.org
  • apache.org
  • google.com
  1. 01RFC 9110: HTTP Semanticsrfc-editor.org · checked 2026-10-25
  2. 02RFC 9112: HTTP/1.1rfc-editor.org · checked 2026-10-25
  3. 03400 Bad Request - HTTP - MDN Web Docsdeveloper.mozilla.org · checked 2026-10-25
  4. 04Error 400: Bad Request - Cloudflare Support docsdevelopers.cloudflare.com · checked 2026-10-25
  5. 05Module ngx_http_core_module - nginx documentationnginx.org · checked 2026-10-25
  6. 06Core Features - Apache HTTP Server 2.4httpd.apache.org · checked 2026-10-25
  7. 07How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane