Skip to Content
Aug 03, 2020 at 10:53 AM

SAP Cloud Platform Integration - Groovy Extract httpresponseexception

705 Views Last edit Aug 03, 2020 at 10:56 AM 2 rev

Hi to all,

as required by the title, is there anyway to extract the HttpResponseException?
In my scenario( CPI--> LMS) I am receiving the HTTP 500 Internal Server error in CPI with HTTP Response Exception, but i want manage this exception retrieving the JSON Payload.
I tried to do the same call with POSTMAN directly to LMS Endpoint

And i am receiving the json error.
In attachment the complete flow and direct call on LMS Endpoint with JSON response in http500.
Thanks in advance


flow.png (26.8 kB)
endpoint.png (5.4 kB)