An exception is thrown for incoming response with Connect-REST
SummaryWhen incoming response for Connect-REST contains an HTTP Error, an exception is thrown.
Error MessagesError 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 CauseA defect in Pegasystems’ code or rules.
ResolutionPerform 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