How to Fix a 400 Bad Request Error (2024)

The 400 Bad Request error is an HTTP status code that means the request you sent to the website server, often something simple like a request to load a web page, was somehow incorrect or corrupted and the server couldn't understand it.

400 Bad Request errors, like all errors of this type, could be seen in any operating system and in any browser.

How to Fix the 400 Bad Request Error

  1. Check for errors in the URL. The most common reason for a 400 Bad Request error is because the URL was typed wrong or the link that was clicked on points to a malformed URL with a specific kind of mistake in it, like a syntax problem.

    This is most likely the problem. Specifically, check for extra, typically non-allowed, characters in the URL like a percentage character. While there are perfectly valid uses for something like a % character, you won't often find one in a standard URL.

  2. Clear your browser's cookies, especially if you're getting a Bad Request error with a Google service. Many sites report a 400 error when a cookie it's reading is corrupt or too old.

  3. Clear your browser's cache. A cached but corrupt copy of the web page you're trying to access could be the root of the problem that's displaying the 400 error. Clearing your cache is unlikely the fix for the majority of 400 bad request issues, but it's quick and easy and worth trying.

  4. Clear your DNS cache, which should fix the 400 Bad Request error if it's being caused by outdated DNS records that your computer is storing. Do this in Windows by executing this command from a Command Prompt window:

     ipconfig/flushdns

    This is not the same as clearing your browser's cache.

  5. Troubleshooting this as a 504 Gateway Timeout error instead, even though the problem is being reported as a 400 Bad Request.

    In some relatively rare situations, two servers may take too long to communicate (a gateway timeout issue) but will incorrectly, or at least unconstructively, report the problem to you as a 400 Bad Request.

  6. If you're uploading a file to the website when you see the error, chances are the 400 Bad Request error is due to the file being too large, and so the server rejects it.

    If the site permits it, compress the file to a ZIP file and then upload that instead.

  7. If the 400 error is happening on nearly every website you visit, the problem most likely lies with your computer or internet connection. Choose an internet speed test to run, and then check with yourISP to make sure everything is configured correctly.

  8. Contact the website directly that hosts the page. It's possible that the 400 Bad Request error actually isn't anything wrong on your end but is instead something they need to fix, in which case letting them know about it would be very helpful.

    Most sites have social network contacts and sometimes even telephone numbers and email addresses.

    If an entire site is down with a 400 Bad Request error, searching social media for #websitedownis often helpful,like #facebookdown or #gmaildown. It certainly won't contribute anything to fixing the issue, but if the site is down for everyone, at least you'll know you're not alone!

  9. If nothing above has worked, and you're sure the problem isn't with your computer, you're left with just checking back later. Since the problem isn't yours to fix, revisit the page or site regularly until it's back up.

More Ways You Might See a 400 Error

Windows Update can report HTTP 400 errors but they display as error code 0x80244016 or with the message WU_E_PT_HTTP_STATUS_BAD_REQUEST.

A 400 error that's reported for a link within a Microsoft Office application will often appear as a The remote server returned an error: (400) Bad Request. message within a small pop-up window.

Web servers running Microsoft IIS often give more specific information about the cause of a 400 Bad Request error by suffixing a number after the400,as inHTTP Error 400.1 - Bad Request, which meansInvalid Destination Header.

Here's a complete list:

Microsoft IIS 400 Error Codes
400.1Invalid Destination Header
400.2Invalid Depth Header
400.3Invalid If Header
400.4Invalid Overwrite Header
400.5Invalid Translate Header
400.6Invalid Request Body
400.7Invalid Content Length
400.8Invalid Timeout
400.9Invalid Lock Token

Errors Like 400 Bad Request

Several other browser errors are also client-side errors and so are at least somewhat related to the 400 Bad Request error. Some include 401 Unauthorized, 403 Forbidden, 404 Not Found, and 408 Request Timeout.

Server-side HTTP status codes also exist and always start with 5 instead of 4. You can see all of them in ourHTTP Status Code Errorslist.

Causes of 400 Bad Request Errors

This error is often caused by entering or pasting the wrongURLin the address window but there are some other relatively common causes as well.

400 Bad Request errors appear differently on different websites, so you may see something from the short list below instead of just 400 or another simple variant like that:

  • 400 Bad Request
  • Bad Request. Your browser sent a request that this server could not understand.
  • Bad Request - Invalid URL
  • HTTP Error 400. The request hostname is invalid.
  • HTTP Error 400 - Bad Request
  • Bad Request: Error 400
  • 400 - Bad request. The request could not be understood by the server due to malformed syntax. The client should not repeat the request without modifications.

The 400 Bad Request error displays inside the internet web browser window, just as web pages do.

FAQ

  • What are 500 code errors?

    The 500 Internal Server Error is a general HTTP status code that means there's something wrong with the website's server. Try clearing the cache and deleting any cookies from the site.

  • How do I fix error 400 on my smart TV?

    If you see error 400 while watching online videos on your smart TV, first try reloading the video, then clear the app cache in your TV's settings. If you're still having trouble, log out and log back into the streaming app, then restart your TV.

Was this page helpful?

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

Tell us why!

How to Fix a 400 Bad Request Error (2024)
Top Articles
Diário Oficial MPSP - 06/08/2014.htm
[PDF] Anais 2008 - Free Download PDF
Spasa Parish
The Machine 2023 Showtimes Near Habersham Hills Cinemas
Gilbert Public Schools Infinite Campus
Rentals for rent in Maastricht
159R Bus Schedule Pdf
11 Best Sites Like The Chive For Funny Pictures and Memes
Finger Lakes 1 Police Beat
Craigslist Pets Huntsville Alabama
Paulette Goddard | American Actress, Modern Times, Charlie Chaplin
Red Dead Redemption 2 Legendary Fish Locations Guide (“A Fisher of Fish”)
What's the Difference Between Halal and Haram Meat & Food?
Rugged Gentleman Barber Shop Martinsburg Wv
Jennifer Lenzini Leaving Ktiv
Havasu Lake residents boiling over water quality as EPA assumes oversight
Justified - Streams, Episodenguide und News zur Serie
Epay. Medstarhealth.org
Olde Kegg Bar & Grill Portage Menu
Half Inning In Which The Home Team Bats Crossword
Amazing Lash Bay Colony
Cyclefish 2023
Truist Bank Open Saturday
What’s Closing at Disney World? A Complete Guide
New from Simply So Good - Cherry Apricot Slab Pie
Ohio State Football Wiki
Find Words Containing Specific Letters | WordFinder®
FirstLight Power to Acquire Leading Canadian Renewable Operator and Developer Hydromega Services Inc. - FirstLight
Webmail.unt.edu
When Is Moonset Tonight
2024-25 ITH Season Preview: USC Trojans
Metro By T Mobile Sign In
Restored Republic December 1 2022
Dl 646
Apple Watch 9 vs. 10 im Vergleich: Unterschiede & Neuerungen
12 30 Pacific Time
Operation Carpe Noctem
Nail Supply Glamour Lake June
Anmed My Chart Login
Pick N Pull Near Me [Locator Map + Guide + FAQ]
'I want to be the oldest Miss Universe winner - at 31'
Gun Mayhem Watchdocumentaries
Ice Hockey Dboard
Infinity Pool Showtimes Near Maya Cinemas Bakersfield
Dermpathdiagnostics Com Pay Invoice
A look back at the history of the Capital One Tower
Alvin Isd Ixl
Maria Butina Bikini
Busted Newspaper Zapata Tx
2045 Union Ave SE, Grand Rapids, MI 49507 | Estately 🧡 | MLS# 24048395
Upgrading Fedora Linux to a New Release
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 5609

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.