Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

HTTP 400 error when requesting static content



When requesting for static content bundles, HTTP 400 error occurs for large bundles and a blank screen displays when logging in to the application.

Error Messages

HTTP 400 Bad Request

Steps to Reproduce

Install Web Application Server on Windows and use the Windows Internet Information Server (ISS).

Root Cause

When the Windows HTTP.sys layer handled the requests, the default URLSegmentMaxLength is 260. The length of the segment containing the static content bundle is larger than this default value for serveral of the static content bundles. 



URL Segment (area between the slashes in the URL):


This segment length is 277 and the default value for HTTP.sys is 260. Hence, this request resulted in a HTTP 400 Bad Request from the Windows HTTP.sys layer.


Add or update the Registry setting for URLSegmentMaxLength.

Consult the Microsoft documentation for the DWORD values under the below Registry key:


Published October 22, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us