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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.