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
Policy logic
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
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/policy-assertions/assertion-palette/logging-auditing-and-alerts-assertions/customize-soap-fault-response-assertion.html