Http 50x's alert error

Not applicable

Hi, Is there a way that we can alert using Apigee for API calls that get http 50x’s? If yes, can anyone please share the details to implement it. Thanks!

0 4 301
4 REPLIES 4

You can do so using Apigee Health : https://health.apigee.com.

Or you can do it using policies. You can have a policy to check for error codes from backend like 502/503 etc. and then trigger an action based on that condition.

@sarthak Thanks! Do you have any sample policy to check for error codes from back-end like 502/503 etc. and then trigger an action based on that condition? It would be great, if you can share it.

Thank you.

@Swapna Going by your other question , looks like you have figured this out ?

Yes, got it. Thanks @sarthak