Hi All,
Using Service Call Out to call Proxy B from Proxy A.
Run Time Scene:
Service Call Out
Proxy A -------------------------> Proxy B
Proxy B: Policy failed with HTTP status code 4xx.
Proxy B ---------------------> Proxy A => HTTP status code got changed to 500.
Changed Details:
500 Internal Server Error
{"fault":{"faultstring":"Execution of ServiceCallout <Policy Name> failed. Reason: ResponseCode 4xx is treated as error","detail":{"errorcode":"steps.servicecallout.ExecutionFailed"}}}
Here, how to keep the error details as it is when the internal policy fails in service call out.
Regards,
Tarang Banka