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 - Information Technology Expert with Two decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. Passionate about sharing the deep technical knowledge and experience to help others, through the real-world articles!

Leave a Reply

Your email address will not be published. Required fields are marked *