AnsweredAssumed Answered

How to send request timeout error from API proxy

Question asked by rdas4 on Dec 1, 2017
Latest reply on Dec 4, 2017 by Stephen_Hughes


We want to send request timeout error to the client application from api proxy for the below scenarios:
API proxy is calling a back-end API, the proxy will send-out a request timeout error if it does not receive the response from back-end service within 5 seconds.

Need guidance here - what are the properties to be configured and how to catch the error on the proxy to send a customized error details? Also want to know what will be the httpRouting.reasonCode property value.