Question

1
Replies
753
Views
DhruvaS0 Member since 2017 1 post
Infosys
Posted: 1 year ago
Last activity: 1 year 6 months ago
Closed

Connect-REST Unexpected character ('< ' (code 60)) Error

Hi All,

We have an application that is built on PEGA 6.3v SP1. Currently , we have a requirement to Upload a PDF document from our application into an external system.

For implementing the same, we are using a Connect-REST rule. However, it's throwing the below error:

Fail: Error mapping incoming response to .Response_POST: 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@1a8e7dbc; line: 1, column: 2]

After doing some due diligence, it seems that the JSON request we are generating is throwing an error b/c PEGA does not support Special Character such as " &nbsp;&. Is there anyway to fix above issue?

Any help would be appreciated - thanks!

***Edited by Moderator Marissa to update platform capability tags; update SR details****

Pega Platform Data Integration SR Exists
Moderation Team has archived post
Share this page LinkedIn