Skip to main content

Support Article

Connect-HTTP does not accept request parameter with % symbol

SA-48300

Summary



After upgrading to Pega 7.2.2, IllegalArgumentException occurs when a % symbol is passed into the request parameter through the Connect-HTTP. This occurs during integration.


Error Messages



Caught unhandled exception: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string:


Steps to Reproduce



Pass the Request with % symbol to Connect-HTTP integration rule


Root Cause



When a '%' symbol is present in the request parameter data value, decoding fails in the invokeHttpConnector. The '%' symbol must be handled correctly and replaced with its encoded value such that decoding passes in the invokeHttpConnector activity.


Resolution



Apply HFix-39699.


Suggest Edit

Published December 30, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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