Support Article
HTTP Status 400 error occurs and unable to open embed grid popup
SA-96250
Summary
Error occurs while opening a grid pop-up window. Pega application did not encode special characters (for example, square brackets) for the URL.
Error Messages
HTTP Status 400 – Bad Request
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
Steps to Reproduce
- Create a new application
- Configure a popup Onclick of the grid item.
Root Cause
A defect in Pegasystems’ code or rules.
The iFrame based URL was not encoded in one of the section's source content. The utility to support encoding for base URI was missing for PRPC 6.1 SP2.
Resolution
Perform the following local-change:
Perform String manipulation in the stream to encode special characters in the iFrame's source URL.
Published January 3, 2020 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.