Connect-HTTP does not accept request parameter with % symbol
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.
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
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.
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.