HTTP 400 Bad Request (Request Header Too Long) – Error in SharePoint

One of the End-User started seeing this error in SharePoint 2007 – InfoPath form submission.
Bad Request (Request Header Too Long)
bad request request header too long sharepoint

Resolution:

1. Try deleting the browser cookies at the Client browser first. See whether it helps.

2. Check the following registry keys, MaxRequestBytes and MaxFieldLength. You can save the below registry entries to .Reg file and merge it simply!
http 400 bad request error sharepoint
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters]
“MaxRequestBytes”=dword:00500000
“MaxFieldLength”=dword:00065534

Restart the server for the changes to take effect, and as always take backup before making any registry change.

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply