Madhusudan Sharma (MadhusudanS9253)
EPAM Systems

EPAM Systems
MadhusudanS9253 Member since 2015 36 posts
EPAM Systems
Posted: May 2, 2021
Last activity: May 14, 2021
Posted: 2 May 2021 12:07 EDT
Last activity: 14 May 2021 22:49 EDT

REST service response is an array, how to map in connect-REST rule Pega 8.5 version


I am doing connect-REST integration backed by JSON....Method is POST

thing is the response is coming as an array with no root element.. example 



       "CreatedBy": null  



     "FileName": null




Now to map the response I am using response_POST page but if I do that I am getting below error:

"the HTTP response code of 500 indicated a server error. The response data may contain a reason. // The body of the service's response, which is set up for mapping in the Connector rule, was empty for this service call."



Can someone please suggest me here.

Thanks in advance.

***Edited by Moderator: Pooja Gadige to update product version***
Pega Platform 8.5 Data Integration Consumer Services Lead System Architect