500 on /oauth/token machine-to-machine

Hi @t.leduc,

Thanks for reaching out to the Auth0 Community!

I understand that you encountered an undescriptive error when getting the Management API access token.

I’m glad you resolved the issue after discovering that a Client Credentials Exchange Hook was responsible for the error!

In the future, I recommend using our Auth0 Real-time Webtask Logs Extension to troubleshoot all the custom-code on your account.

If you have any other issues or questions, please feel free to reach out.

Thank you.