Error retrieving JWT for management API

I am getting this error back making the call to get the token for the management API: “error”:“server_error”,“error_description”:“Script generated an unhandled asynchronous exception.”

When I use the web site dashboard to get a test token I get this error:
Error! API Error. Please contact support if the problem persists

Can anyone provide assistance with these issues?

1 Like

Hi @scott,

Welcome to the Auth0 Community!

I’m going to look into this. Could you DM me your tenant name?


I am not seeing anything glaring in the tenant. Do you have any client credentials hooks?

No, not using hooks. Simply trying to use the clientID and client Secret to get a token back to use the management API. That returns an error, and there is also an error when just trying to get the test token from the management site.

1 Like

I’ve found more examples of this behavior, and this error is typically associated with Rules, Hooks, or Extensions. Could you tell me what extensions you are using?