nginx
- Setting
large_client_header_buffers(default4 8k),client_header_buffer_size(default1k)
Chrome shows 400 Bad Request when a server rejects a request. Delete that site's cookies, check the URL, test in Incognito and turn off extensions.
A 400 Bad Request in Chrome means the server rejected the request as malformed. The most common visitor fix is to delete that site's cookies, because an oversized cookie can push the request over the server's header limit. Also check the URL, test in Incognito and turn off extensions. If it persists, the site's server needs fixing.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
RFC 9110 says a 400 means the server cannot or will not process the request due to something it perceives as a client error, such as malformed request syntax or invalid message framing. Some sites show their own page, such as an nginx "400 Bad Request" page. When the site gives Chrome nothing to show, Chromium uses its generic 4xx screen: the heading "This page isn't working" with the line "If the problem continues, contact the site owner." and HTTP ERROR 400. The general meaning is on 400 Bad Request.
The reason that matters most in Chrome is the cookie. nginx's own page for an oversized header or cookie reads "Request Header Or Cookie Too Large" under a "400 Bad Request" heading. Apache's LimitRequestFieldSize default is 8190 bytes, and nginx's large_client_header_buffers default is 4 8k. A site that sets many or large cookies can cross those limits.
In Chrome on a computer, open Settings > Privacy and security > Third-party cookies > See all site data and permissions, search for the site, and select Delete. Chrome's cookie help warns this can sign you out of that site. Reload the page.
Remove odd characters or a long query string, or open the site's home page and navigate to the page again. RFC 9110 lists malformed request syntax as an example of a client error.
Open the URL in an Incognito window. If it works, a cookie, cached data or an extension is the cause.
If the page opens in Incognito and an extension does not work, Chrome's help says to turn that extension off.
Chrome's Delete browsing data dialog lets you choose a time range and select Cookies and other site data, and Chrome's help lists cached images and files as data it deletes. Use it only if the steps above fail.
To see whether the cookie is the problem, open DevTools (F12, or Fn + F12 on a Mac), select the Network tab, reload, select the request, and open the Headers tab. The Request Headers section shows what Chrome sent, including the Cookie header. A very long one points to the cookie.
large_client_header_buffers (default 4 8k), client_header_buffer_size (default 1k)LimitRequestFieldSize (default 8190), LimitRequestLine (default 8190), LimitRequestFields (default 100)A request body that is too large is a different error; see 413 Content Too Large. If Chrome shows only a generic screen, This page isn't working explains how to read the code. Google treats 4xx responses as errors and does not index them; see 4xx errors.
4 questions people ask next, answered from the sources on this page.
Delete that site's cookies, check the URL, test in an Incognito window and turn off extensions. If it still fails, the server is rejecting the request and the site owner has to fix it.
As a visitor, delete the site's cookies. As the owner of an nginx site, raise large_client_header_buffers (default 4 8k) or shrink the cookie. On Apache, the matching limit is LimitRequestFieldSize, default 8190 bytes.
The server cannot or will not process the request because of something it sees as a client error, such as malformed syntax. RFC 9110 defines it.
Not by itself. It usually stays until the request changes, for example after you delete a cookie or fix the URL. A server fix also clears it.
Run the free audit, then approve the fixes. Every change can be undone.