Is there any way to send email alerts when api respond with 500 status from endpoint in Edge?

Not applicable
 
1 3 841
3 REPLIES 3

I would look at using Apigee Test: https://test.apigee.com/welcome.

You could build custom error handling into the proxy. Look into custom handling of error codes from the target server: http://docs.apigee.com/api-services/content/fault-handling#customhandlingofhttperrorcodesfromthetarg... E.g. you could make a ServiceCallout that generates an email.

However, I would be cautious about sending email this way. This could generate a vast number of email messages. It's the sort of thing you don't notice when the errors are rare, but suddenly, months later, overloads an email system when someone forgets about it. I'd argue instead for logging, or using analytics some way, and having a monitor system review that data to generate alerts. Like Apigee Test. 😉

Please send me a code on service call out for sending email...

@Vinod Mehta, check out this answer https://community.apigee.com/questions/27231/what-is-the-best-way-for-monitoring-rate-limitings.html.... Also, go through the advisory comment on that answer.