Monitor custom errors in actions

Hi everyone!

We have an auth0 action that talks to our backend API. We want to log/record any error that API might return to the auth0 action caller. Currently, we tried to use console.log() in our auth0 action code, but we don’t see any custom logs in auth0 Dashboard Monitoring → Logs.

What is the proper way to tell the auth0 action that there was an internal API error and record it? Should we use Monitoring → Streams for that? Or should we manually send the error to our errors collecting tool, like Sentry, from the auth0 action code?

Thanks!

3 Likes

Hey there!

As this topic is related to Actions and Rules & Hooks are being deprecated soon in favor of Actions, I’m excited to let you know about our next Ask me Anything session in the Forum on Thursday, January 18 with the Rules, Hooks and Actions team on Rules & Hooks and why Actions matter! Submit your questions in the thread above and our esteemed product experts will provide written answers on January 18. Find out more about Rules & Hooks and why Actions matter! Can’t wait to see you there!

Learn more here!