Nowadays, more than half of the world’s population is utilizing the facility of internet. The internet has become an essential part of our lives and it is used for educational as well as for recreational purposes. Although people enjoy Unlimited Internet Bundles and fast browsing, but sometimes they report certain glitches while browsing. A recent issue reported by several users was a bad request – request too long issue, that arises on a system when a user tries to access the desired website. This error message is also known as “HTTP error 400″ and if you have encountered this issue on your system there is no need to worry because we have gathered some effective solutions that will help in getting rid of this particular error.
What Causes the 400 bad request Error on your screen?
After doing in-depth research on this specific error we have gathered some possible causes that can trigger bad request – request too long error. The most prominent ones are indexed below:
- Invalid Cookies: Invalid cookies are the backbone of this error. Sometimes while accessing the website invalid cookies might be stored in the history of the browser and afterward prohibit him/her from accessing the website
- Invalid URL: It may be possible that you’ve typed the invalid or wrong domain name in the search bar that can cause this error to appear on the screen. It is always advised to check whether the correct URL is entered in the search bar.
- Outdated DNS Records: The DNS records might have stored some links that lead to an incorrect IP address instead of correct ones when the user is accessing the desired websites, hence resulting in the bad request – request too long error. Hence, flushing your DNS clears the DNS cache by deleting all the entries and invalid records and forces your computer to repopulate those addresses the next time you try to access a particular website.
- Heavy File Size: If you’re using a Wifi and not an Ethernet cable then for sure it would affect the Uploading rate. When a user tries to upload a heavy file the server fails to accept it and the bad request – request too long error appears on the screen. Therefore, it is suggested to reduce the file size before uploading it on the browser.
Before you Start:
It is better to try some basic troubleshooting steps before heading towards the more complex and elaborated ones.
- Check the spelling of the website typed in the search bar, make sure that appropriate and correct spelling are entered.
- Refresh the page by pressing the “F5” button or by clicking on the “Circular arrow” icon present at the top left corner of the page.
- Try to refresh the webpage multiple times and check whether 400 bad request error is rectified.
Fix bad request – request too long error on your browser:
Solution 1: Clear Cache and Files
- Open your browser, click on the “Three dots” icon located at the top right corner, and select “Settings”.
- Scroll down and click on the “Advanced” option.
- Select the “Clear Browsing Data” option present under the “Privacy and security” heading.
- Set the “Time Range” to “All time” and check the “Cached images and files” box and hit the “Clear data” button.
- Wait for a few seconds till the cache images and files are cleared and afterward close all the tabs, launch the website, and check whether the http error 400 persists.
Solution 2: Clear Cookies
For Mozilla Firefox:
- Launch your browser and click on the “Three lines” icon present at the top right corner and select “Options”.
- Select “Privacy and Security” from the window in front of you, scroll down and locate “Cookies and site data” and choose “Manage Data”.
- Now type the URL of the desired website in the search box, select all the “Cookies” and click on “Remove all”.
- Now hit the “Save Changes” button and check whether the bad request-request too long error still persists.
For Google chrome:
- Open your browser, click on the “Three dots” icon located at the top right corner and select “Settings”.
- Scroll down and click on the “Advanced” button located at the end of the page.
- Select the “Cookies and site data” option present under the “Privacy and security” heading.
- Scroll down and click on the “See all cookies and site data” option.
- Type the URL of the desired website in the search box, select all the cookies, and hit the “Delete” button.
- Close all the tabs, launch the website, and check whether the error 400 still persists.
- Directly click on the lock icon in the address bar’s area.
- In the menu under cookies, there will be a link showing how many cookies are present.
- Click on that link and remove all cookies that are present.
- Open your chrome browser, click on the “Three dots” icon present at the top right corner and select “Settings”.
- Scroll down until you reach the bottom and click on the “Advanced” button.
- Under the “Privacy and Security” section, select “Cookies and site data”.
- Scroll down and click on “Always clear cookies when windows are closed” option and click “Add”.
- Enter the website domain and click on “Add”.
- Close all the tabs, launch the website now, and check whether the bad request – request too long error persists.
Solution 4: Flush DNS
- Press “Windows key + R” to open the run box and type “Command prompt“. Right-click on it and choose “Run as administrator” option.
- Enter the following commands one by one in the command window and hit enter to execute them:
ipconfig /release ipconfig /renew ipconfig /flushdns
Solution 5: Restore Browser to its default Settings
- Open your browser, click on the “Three dots” icon present on the top right corner and select “Settings”.
- Scroll down and click on the “Advanced” tab located at the end of the page.
- Scroll down till you locate Reset and clean up option and click on “Restore settings to their original defaults”.
- Click on “Reset settings” in order to change the settings to default.
- Close all the tabs, launch the website from the browser and check if the 400 bad request error is resolved.
Solution 6: Uninstall new extensions or Plugins
- Open your browser, click on the “Three dots icon” present at the top right corner.
- From the drop-down menu, select “More tools” and then click on the “Extensions”.
- Now scroll down and select the “Recently Downloaded Extensions” and remove them by clicking on the “Remove” button.
- Now, launch the website and verify whether the http error 400 still exists.
Solution 7: Use Incognito Mode
- Open your browser and click on the “Three dots” icon present at the top right corner.
- Now select “New incognito window” from the drop-down menu.
- When the incognito window appears in front of you, type “URL” in the search bar and hit Enter to check whether the website works fine in this mode or not.
If you encounter this error while uploading any sort of file, try to compress the file if your browser allows it. If you have made any recent changes in your system revert back to changes where everything worked fine. If the issue is still not fixed contact Google Chrome Help or if you think the problem is at your end contact the internet service provider and wait until they resolve the issue.
Hopefully, the error would’ve gone by now but if it still exists, make sure to contact us to get it resolved.