Support Article
An exception is thrown for incoming response with Connect-REST
SA-23904
Summary
When incoming response for Connect-REST contains an HTTP Error, an exception is thrown.
Error Messages
Error mapping incoming response to .<<propertyName>>: org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: java.io.StringReader@e7eed1ff; line: 1, column: 2]
Steps to Reproduce
- Call a REST service.
- Map the response data in Connect-REST.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:
- Create Dynamic System Setting http/LegacyResponseMapping under Pega-IntegrationEngine owning ruleset.
- Set this to true.
Published June 2, 2016 - 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.