ErrorVault.com

Error: Code 400 - There is a syntax error in the request and is denied by the web server.


How to fix the Web Error Code Error 400 Bad Request

This article features error number Code 400, commonly known as Bad Request described as There is a syntax error in the request and is denied by the web server.


About Status Codes

When you receive web error codes, you may either be having client or server issues. The problem could be related to browser or settings that are blocking your connection, or it can be any other issues related to the server you are trying to access.

To explain the problem further, here are some useful information about web error codes, their symptoms, causes and repair methods.


Definitions (Beta)

Here we list some definitions for the words contained in your error, in an attempt to help you understand your problem. This is a work in progress, so sometimes we might define the word incorrectly, so feel free to skip this section!

  • Denied - Anything related to the refusal of a system to accomplish some operation requested by an user
  • Request - A request is a message sent by a source to another object.
  • Server - A server is a running instance of a software application capable of accepting requests from a client and giving responses accordingly.
  • Syntax - Syntax refers to the actual language elements and symbols themselves
  • Syntax error - A syntax error occurs when a program does not follow the syntactical rules of the programming language.
  • Web - Use this tag for general questions related to all aspects of the world wide web

Symptoms of Code 400 - Bad Request

Web error codes are also known as http status codes. There are five different classes of http status codes and they always start with the following digits, depending on what kind of error was encountered by the user. These are also the symptoms of the error that the user is experiencing. To explain further, here are the status codes.

4xx: Client Error
This error is sent back to the user when it is a client-side error. The user receives notifications of a bad request, content not found or unauthorized access to the content or something to that effect.
400 - Bad Request
401 - Unauthorized
402 - Payment Required
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
406 - Not Accepted
407 - Proxy Authentication Required
408 - Request Timeout
409 - Conflict
410 - Gone
411 - Length Required
412 - Precondition Failed
413 - Request Entity Too Large
414 - Request-URI Too Long
415 - Unsupported Media Type
416 - Request Range Not Satisfied
417 - Expectation Failed


Fix Bad Request (Error Error 400)
(For illustrative purposes only)



Causes of Bad Request - Error 400

4XX codes are caused by the user or settings from the user's side. The request was not understood by the server because of wrong address bar entry, incorrect syntax, unstable connection or erroneous OS.


Repair Methods

There are particular troubleshooting steps for particular Web Error codes. However, there are also generalized repair methods users can perform when faced with these kinds of errors.

If a repair method works for you, please click the upvote button to the left of the answer, this will let other users know which repair method is currently working the best.

Please note: Neither ErrorVault.com nor it's writers claim responsibility for the results of the actions taken from employing any of the repair methods listed on this page - you complete these steps at your own risk.

up vote 1 down vote accepted
For Windows 7
  • Search for Windows Updates on the search bar.
  • Click enter when it comes up on the search results.
  • Check recent updates and click Uninstall updates on recent dates when the error began happening.
For Windows 8 and Windows 10
  • Press the window key and the letter X simultaneously to open Settings
  • When you get to Windows settings, click Update & Security.
  • Click view installed update history, then Uninstall updates.
When accessing a site, data gets stored in the browser cache. Sometimes, you have tried fixing a web error but the same message appears on your browser. In such cases, you need to clear your browser cache to get rid of the annoying message. Here are ways to do that in different kinds of browsers:
  • On Google Chrome
    • Open Chrome and click the three dots on the upper right portion of your browser
    • Click More Tools and then Click Clear browsing data.
    • You may choose to delete everything or just a certain browsing period.
    • Check the boxes beside Cookies and other site data and Cached images and files.
    • Finally, click Clear data.
  • On Edge
    • Click the ... it is the rightmost button just beneath the close button.
    • Scroll down and Click Settings.
    • Look for Clear browsing data, and click Choose what to clear button.
    • It will give you option to choose which type of data you want to clear, just put a check mark on the items you want to include, then click Clear.
  • On Mozilla
    • Go to History menu and select Clear Recent History.
    • You may click the Alt button if the menu bar is hidden.
    • You will see a dropdown menu where you can select the period or range you want to delete, click your selection.
    • You can click on Details to choose what to clear, whether it be the entire cache or other items.
    • Once selected, click Clear now and then reboot the browser to let changes take effect.
  • If you want to check log files, you may do so by first ensuring that you are logged into the web server computer as an Administrator.
  • Click Start, then Settings, then click Control Panel.
  • Open Administrator Tools and then double-click Internet Services Manager.
  • Select the website from the list of different served sites.
  • Right click the website and then point your mouse to Properties.
  • Select Website tab and then click Properties. On it, you will see General Properties tab. On the bottom of the window, you may see the location of the log files generated.
  • Open log files using WordPad, any text file viewer or Microsoft Word.
  • Here, you should be able to analyze where you got the errors while accessing a server.
  • There are also times when you manually enter the URL of a site you wish to explore. If you are getting errors after doing this, check the URL you just entered on the address bar if you are indeed accessing the correct address. If not, correct the items you typed incorrectly.
  • Sometimes, additional Extensions may give you Web Error Codes.
  • Uninstall Extensions you recently installed by going to your browser settings and then clicking More Tools.
  • You will see extensions than had been installed on your browser, choose the latest addition which you suspected caused the problem you are having.
  • This troubleshooting is normally handled by the site admin. If that is you, then you need to have an understanding of Web server configurations.
  • You may check which web server is running your site by using URL or domain checkers. You just need to enter the site address and analyze the results that you will get.
  • You may also check for broken links by right clicking the webpage and clicking on Inspect. This should give you the code to the site on the right side. You may check each anchor text and see if the links connected to them are still live.
  • You may also check for any unwanted characters on the codes and script by Debug Application Codes and Scripts. If you don't have any idea how to do it, you may check this resource to do that.
  • You may also try to Refresh website. Sometimes, the error you are getting is an old error which has not gone away and a simple refresh by clicking F5 may do the job.
Other languages:

Wie beheben Fehler 400 (Schlechte Anfrage) - Die Anfrage enthält einen Syntaxfehler und wird vom Webserver abgelehnt.
Come fissare Errore 400 (Richiesta errata) - C'è un errore di sintassi nella richiesta e viene negata dal server web.
Hoe maak je Fout 400 (Slecht verzoek) - Het verzoek bevat een syntaxisfout en wordt geweigerd door de webserver.
Comment réparer Erreur 400 (Mauvaise demande) - Il y a une erreur de syntaxe dans la requête et elle est refusée par le serveur Web.
어떻게 고치는 지 오류 400 (잘못된 요청) - 요청에 구문 오류가 있으며 웹 서버에서 거부되었습니다.
Como corrigir o Erro 400 (Pedido ruim) - Há um erro de sintaxe na solicitação que foi negado pelo servidor da web.
Hur man åtgärdar Fel 400 (Dålig begäran) - Det finns ett syntaxfel i begäran och nekas av webbservern.
Как исправить Ошибка 400 (Плохой запрос) - В запросе есть синтаксическая ошибка, которая отклоняется веб-сервером.
Jak naprawić Błąd 400 (Zła prośba) - W żądaniu występuje błąd składni, który został odrzucony przez serwer sieciowy.
Cómo arreglar Error 400 (Solicitud incorrecta) - Hay un error de sintaxis en la solicitud y el servidor web lo rechaza.




The Author About The Author: Phil Hart has been a Microsoft Community Contributor since 2010. With a current point score over 100,000, they've contributed more than 3000 answers in the Microsoft Support forums and have created almost 200 new help articles in the Technet Wiki.


Follow Us: Facebook Youtube Twitter
Last Updated:
24/10/23 02:14 : A Windows 10 user voted that repair method 4 worked for them.

Recommended Repair Tool:


This repair tool can fix common computer problems such as blue screens, crashes and freezes, missing DLL files, as well as repair malware/virus damage and more by replacing damaged and missing system files.

STEP 1:
Click Here to Download and install the Windows repair tool.

STEP 2:
Click on Start Scan and let it analyze your device.

STEP 3:
Click on Repair All to fix all of the issues it detected.

DOWNLOAD NOW

Compatibility

Requirements
1 Ghz CPU, 512 MB RAM, 40 GB HDD
This download offers unlimited scans of your Windows PC for free. Full system repairs start at $19.95.

Article ID: ACX01607EN

Applies To: Windows 10, Windows 8.1, Windows 7, Windows Vista, Windows XP, Windows 2000

Help someone else with this error and Share This Page:
Email Facebook Google LinkedIn Print Twitter

Speed Up Tip #13

Removing Unwanted Pre-Installed Software:

The unwanted software, aka junk software or bloatware, that came pre-installed with your computer can be easily removed using PC Decrapifier. It is a free and easy-to-use program that can help you speed up your new pc and save you hours of uninstalling those bloatwares manually.

Click Here for another way to speed up your Windows PC
Home     Blog     About     Privacy Policy     Contact Us


Errors in Alphabetical Order:  A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Microsoft & Windows® logos are registered trademarks of Microsoft. Disclaimer: ErrorVault.com is not affiliated with Microsoft, nor does it claim such affiliation. This page may contain definitions from https://stackoverflow.com/tags under the CC-BY-SA license. The information on this page is provided for informational purposes only. © Copyright 2018