How can I customize error messages ?

Hello every one

How can I customize error messages of different policies like qouta, spike arrest and token expiration

0 3 261
3 REPLIES 3

You want FaultRules.

This mechanism is documented here:

https://docs.apigee.com/api-platform/fundamentals/fault-handling

And here are some instructional videos

Not applicable

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.