SEO glossary · E

Error 400

What is a 400 Error?

A 400 Bad Request error is an HTTP status code meaning the server couldn’t process a request because something about the request itself was wrong, such as a malformed URL, an invalid cookie or a file that is too large.

Common causes

  • Typos or illegal characters in the URL, such as unencoded spaces or a stray % sign
  • Corrupted or oversized cookies stored in the browser
  • Request headers that are too large
  • Uploading a file larger than the server allows
  • A malformed request sent by an app, form or API

How to fix it

As a visitor: check the URL for mistakes, clear the site’s cookies and cache, or try another browser.

As a site owner: find the failing URLs in your server logs or the Pages report in Google Search Console, fix broken links and redirects that produce bad URLs, and check your server’s limits for headers and uploads.

400 errors and SEO

A page that returns a 400 error can’t be indexed. A few 400s from odd bot requests are harmless, but if real pages or internal links return 400, fix them so that visitors and search engines can reach the content.

400 error example

A visitor clicks a link in an email that contains a space and a percent sign, written as “/offer 50%”. The browser sends a malformed request, and the server answers 400 Bad Request. The fix is to correct the link in the email to /offer-50/ and to make sure the old broken address redirects to the right page.

How to find and fix 400 errors on your site

  1. Look for 400 responses in your server logs or in your analytics tool.
  2. Open the Pages report in Search Console and check for URLs Google could not fetch.
  3. Fix links with typos, spaces or unusual characters, including in emails and printed material.
  4. Check upload limits and header size limits in your server settings.
  5. If many visitors see the error after logging in, check cookie size and session settings.

400 error mistakes

  • Mixing it up with a 404 error. A 404 means the page was not found, while a 400 means the request was invalid.
  • Clearing cookies as the only fix when the real cause is a broken link.
  • Not logging errors, so nobody notices a pattern.

400 error FAQs

Does a 400 error hurt SEO?

A few do no harm. Many 400 responses on pages Google tries to crawl can waste crawl time. See crawl budget and HTTP status codes.

What is the difference between 400 and 404?

A 404 means the page does not exist. A 400 means the request itself was malformed. Read about HTTP for how requests and responses work.

Know the term. Now rank for it.

Tell us the search you want to win. A specialist reads it and replies by email, and if it helps, we set up a short call.

  1. We reply by emailA specialist reads your message and answers your questions.
  2. A short call, if usefulAbout your business, your market and your goals.
  3. A written proposalThe work, the goals, the reporting and our fee.

    A specialist reads your message and replies by email.