Question

1
Replies
1013
Views
Close popover
Dhruva Sharma (DhruvaS0)
Infosys

Infosys
US
DhruvaS0 Member since 2017 1 post
Infosys
Posted: December 13, 2018
Last activity: March 20, 2019
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 Support Case Exists
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.