ForestMuffin

Gmail Error 400 Bad Request: How to Fix It in Your Browser

Fix It4 min read

In most cases, Error 400 doesn’t mean your account was hacked or that any mail is missing. Your mail stays in your account. The error only means Gmail’s server couldn’t process the request it got from your browser, which Google calls a “Bad Request.”

You might see it when you open Gmail in Chrome, or when you sign in to Gmail from another app like Outlook. The words on your screen tell you which fix to try. A plain “Error 400 (Bad Request)” in your browser usually clears up with an incognito window, deleting only the Google cookies, or switching off extensions.

A code on the sign-in screen points elsewhere: account or administrator codes need your admin, while app codes need the app’s developer. If you’re looking at a code, skip to the second section.

Fixing “Error 400 (Bad Request)” in your browser

Along with the error, the page says the server couldn’t process the request because it was malformed, and that it shouldn’t be retried. It can keep showing even after you clear the cache, switch off extensions or change WiFi. So if you’ve already tried those, you haven’t missed something obvious.

Decision diagram: a plain Error 400 (Bad Request) in the browser leads to browser fixes, while a code on the sign-in screen leads to your admin for account or administrator codes, or to the app's developer for app codes.
What the screen shows tells you which fix to try.
AI-generated image: A person sitting at a desk in the evening, looking at a laptop with a blurred glowing screen.
A plain Error 400 in your browser usually goes away after a few simple checks. (AI-generated image, not a real still)

One user on Google’s help forum said Gmail still opened fine in Firefox. That’s a hint the trouble can sit in one browser rather than in your account.

The steps below start with the easiest one.

1. Check the web address

A typo, a missing piece or an odd symbol in a link can make Google return a 400 error. Type mail.google.com yourself instead of using an old bookmark or a link from an email. If your inbox loads, you’re done.

2. Open Gmail in an incognito window

In Chrome on a PC, press Ctrl + Shift + N, then go to Gmail in that window. If it loads there, an extension may be getting in the way. Step 4 shows how to check.

3. Delete only the Google cookies

Does the page say Request Header or Cookie Too Large? Then start here.

AI-generated image: Hands typing on a laptop at a kitchen table beside a small plate of cookies and a coffee.
Clearing only the cookies tied to Google keeps your saved settings on other sites. (AI-generated image, not a real still)

This isn’t the same as the cache you already cleared. Cookies are small files that sites use to remember you. Your browser saves cookies and cache to load pages faster, but old or damaged ones can go stale and send the wrong data to Google, so either can be the cause. A bad cookie can trigger the error.

Delete only the cookies tied to Google. Clearing everything would wipe the saved settings on your other sites too. You’ll find the cookie list in your browser’s privacy or site data settings.

After that, you may need to enter your sign-in details again, so have them ready. Then reload Gmail.

4. Turn off your extensions

In Chrome, open the menu, choose More Tools, then Extensions, and switch every extension off. Reload Gmail.

If it works now, turn the extensions back on one at a time. Reload after each one until the error comes back. The last one you turned on is the likely cause.

5. Try a different browser

Open Gmail in another browser, such as Firefox. If it loads there, the problem is in your first browser, so go back and repeat steps 3 and 4 in that one. If the same error shows everywhere, keep going.

6. Make sure cookies aren’t blocked for Gmail

If they’re blocked, the page may not load properly. Open your browser’s cookie settings, allow Gmail to save cookies, and reload.

7. Check your antivirus

Some antivirus programs, Kaspersky for one, can cause this error. Open your antivirus settings and look for any web protection or filtering that touches google.com. If you find one, allow Google or pause that feature, then reload Gmail. Where your program gives you the choice, allowing Google is the gentler option than pausing the whole feature.

When the sign-in screen shows a code

If the screen shows a code such as invalid_request or admin_policy_enforced, the browser steps above won’t fix it. Find your code below.

Some codes come from your account or your organization:

  • If you see admin_policy_enforced, your Google Workspace administrator has limited how people can sign in with Google. Ask your Workspace administrator.
  • access_not_configured is a Workspace for Education setting. Contact your school’s administrator.
  • invalid_user means Google sees this account as inactive. Sign in with a different, active Google Account.
  • policy_enforced usually means your account is in the Advanced Protection Program. Signing in with this app may require turning that program off. That lowers the extra protection on your account, so only do it if you accept that risk. If you’re not sure, leave it on and keep using Gmail in your browser.

Others come from the app itself:

  • For invalid_request, update the app, or use a browser-based sign-in if the app offers one.
  • With origin_mismatch, redirect_uri_mismatch or invalid_scope, only the app’s developer can fix it. Contact the developer.

If Outlook still won’t sign in

Some mail apps ask for a Google app password instead of your regular one. To get one, turn on 2-Step Verification first. Then create the app password in your Google Account security settings. Not every account can use app passwords, so the option may not appear for you.

AI-generated image: A person working at a desktop computer in a sunlit office with striped shadows from window blinds.
If a desktop mail app still won’t sign in, an app password or clearing old saved credentials can help. (AI-generated image, not a real still)

There’s one more thing to try, but only if you use Outlook on Windows and a new Gmail sign-in keeps failing. Windows can hold on to an outdated saved sign-in that interferes with the new one. Remove the old entry in Credential Manager, then sign in again.

Sources

This article was created using generative AI based on publicly available sources.