Hello every one
How can I customize error messages of different policies like qouta, spike arrest and token expiration
You want FaultRules.
This mechanism is documented here:
https://docs.apigee.com/api-platform/fundamentals/fault-handling
And here are some instructional videos
Don't miss this community article:
https://community.apigee.com/articles/23724/an-error-handling-pattern-for-apigee-proxies.html
you can add the assign message policy in the fault rule. Using assign message policy set the custom payload. Provide the error condition for the assign message policy. You can add n number of assign message policies with their error conditions.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |