
How to Restore Functionality of Your Chrome Browser After Encountering a "Bad Request-Request Too Long" Error on a SharePoint Server
THE PROBLEM
If you've been working on a SharePoint server with Google's Chrome browser (and probably browsers as well) and subsequently encounter the error message:
Bad Request-Request Too Long
HTTP Error 400. The size of the request headers is too long.
|
. . . the problem is probably because the server has issued your browser too many "cookies."
THE SOLUTION
In Chrome, the solution to restoring access to the SharePoint site is relatively easy to execute. Here are instructions for removing only SharePoint cookies, based upon Google's instructions to Manage your cookies and site data:
- Save your work.
- Close any browser windows/tabs associated with the SharePoint site. (At the end of this process, you may have to log in to the SharePoint site again.)
- Click the Chrome menu on the browser toolbar. Select Settings.
- Click Show advanced settings at the bottom of the page.
- In the "Privacy" section, click the Content settings button.
- In the "Cookies" section, click All cookies and site data to open the Cookies and Other Data dialog.
- To delete all "SharePoint" cookies, type "sharepoint" in the "Search cookies" field in the upper-right corner of the dialog. One or more lines of matching items with domain names containing "sharepoint" will appear.
- Hover your cursor the line with the domain name of the site with which you are getting "Bad Request" messages. An "X" will appear to the right end of the item line.
- Clicking on the "X" will delete all the cookies associated with that site.
- (NOTE: Deleting these cookies may have consequences which require you to re-enter information. This was not our experience. In any case, you will not be able to continue using this browser and any of its stored cookies, so the point is probably moot. It is possible to delete individual cookies related to the domain, but determining which of potentially hundreds of the cookies are the culprit may be impractical.)
- (NOTE: You could choose to delete ALL cookies, and probably solve this problem as well, but perhaps inconvenience yourself when visiting other sites which provide useful functionality via cookies. You can also configure your browser to flush all cookies whenever you quit the program, or even not accept cookies at all. However, prohibiting cookies may cause some sites to fail to properly perform on your browser.)
This should allow you to again use the Chrome browser for accessing the SharePoint server.

