How can I get notified when there's an API error?

I'm having some issues with one of my login SSO methods (Microsoft, of course) and want to know each time a user has an issue logging in. These issues are always accompanied with an API error (usually 500 Internal Server Error).

Is there a way to notify me when these occur? I'm ok with these being via 3rd party email. I have Sendgrid set up so I can use that to send me an email.

3 replies