Skip to Content

REST Adapter Customer Error Handling in JSON Format ?

Dec 09, 2017 at 02:15 AM


avatar image

Hi ,

I have a REST to REST Scenario. By using Error Handling Tab in the Communication Channel , I am able to get the custom error text. But, the content type seems to be only 'Text'. When I try to write the custom error message in the below format (JSON) as per the sender requirement, I am getting the error - "Invalid variable name { ..}." .Could you please help on how to handle curly braces?

custom error message:



"errors": [


http status {http_status},

http status text {http_status_text}


] }




10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers