Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

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


Root Cause



A defect in Pegasystems’ code or rules.

Resolution



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

Was this useful?

33% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us