Question

5
Replies
419
Views
cavlo Member since 2014 14 posts
PEGA
Posted: August 15, 2016
Last activity: October 7, 2016
Closed
Solved

REST output is not compliant with RFC7159; cannot escape carriage return

Hi,

JSON output in the REST API call is malformed. Carriage return is not replaced with anything. As suggested in https://pdn.pega.com/support-articles/rest-service-not-returning-correct-json-response post (SA-12685), I was expecting to resolve the issue by defining the following dynamic system setting, but it didn't work out.

Purpose : json/escapeSpecialCharacters 
Owning Ruleset : Pega-IntSvcs 
Value : true

My output is below. Due to GUI limitations, there must be a carriage return after increase as seen below

"ShortDesc":"Would you like to increase
the limit of your credit card?",

This is how business users enter proposition data (upload via Excel).

Do I need to write my own replace function or is there an out-of-the-box function to handle this? Could you also confirm / double check if Hfix-23009  is available in Pega 7.2 ?

The requirement is to provide a valid JSON output/data with carriage return.

Regards,
Pega 7.2 & Pega Marketing 7.13

***Updated by moderator: Lochan to add Category | Tagged SR Created***

Data Integration SR Created
Moderation Team has archived post
Share this page LinkedIn