When throttle or shape is enabled Gateway throws generic 503 service not available error.
Since this message is not a valid xml/json format clients are not able to process.
We are looking to implement a custom error response.
Implemented below which is not working, even added to all assertion must equal to true block.
Release : 9.4
Component : API GATEWAY
Use the following Policy Logic :
2 Audit Message in Policy
3 Customize SOAP Fault Response Template Fault
4 All assertions must evaluate to true
5 Customize error response
6 At least one assertion must evaluate to true
7 Apply Rate Limit:
8 Route via HTTP to xxxx