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

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.


Published December 30, 2017 - 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?

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