Error When Visiting the Test Tab of an API


When visiting an API’s Test tab in the Auth0 dashboard, the following error appears at the top of the page. This article will explain how to determine more information about these errors.

Error! API Error. Please contact support if the problem persists


When the Test tab of an API is visited, the dashboard attempts to create a token for that API automatically. This triggers the Machine to Machine Actions/Hooks flow (credentials-exchange). If an Action or hook throws an error, this error will appear in the Test tab.


Check any machine-to-machine actions or Client Credentials Exchange Hooks in the tenant to see if they relate to this flow.
This event creates a log under Monitoring > Logs that can provide additional information about the error.