Hi There,In generall when a backend server is down it returns one of the following httpRouting reason code return between -1 to -5 can i assume this error as 500,.Since i want to send to the front some http error code?
sharathbabuYeramalla Yes, that would be the correct assumption.
I've included a breakdown of the reason codes that you outlined above but don't imply a 500 response from the backend as the first 4 is that a response is not received.
Message Routing Context Variables - CA API Gateway - 9.2 - CA Technologies Documentation
${httpRouting.reasonCode}
Returns one of the following reason codes when the HTTP routing fails:
Sincerely,
Stephen Hughes
CA Support