Support Article

An exception is thrown for incoming response with Connect-REST



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:; line: 1, column: 2]

Steps to Reproduce

  1. Call a REST service.
  2. Map the response data in Connect-REST.

Root Cause

A defect in Pegasystems’ code or rules.


Perform the following local-change: 
  1. Create Dynamic System Setting http/LegacyResponseMapping under Pega-IntegrationEngine owning ruleset.
  2. Set this to true.

Published June 2, 2016 - Updated October 8, 2020

50% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.