# API Error Internal Server Error 500

**URL:** <https://community.auth0.com/t/api-error-internal-server-error-500/58220>\
**Category:** Get Help\
**Tags:** api-explorer, management-api\
**Created:** [February 21, 2021, 11:28am UTC](https://community.auth0.com/t/api-error-internal-server-error-500/58220 "2021-02-21T11:28:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamie](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jamie/32/12805_2.png) [@jamie](https://community.auth0.com/u/jamie)\
**Post date:** [February 21, 2021, 11:28am UTC](https://community.auth0.com/t/api-error-internal-server-error-500/58220/1 "2021-02-21T11:28:41Z")

</div>

Hi,

We suddenly started to get Error 500 Internal Server Error on Thursday 18th Feb 2021 when trying to get an auth token. There were no code changes and when we tried to make a call through postman you can see the response below:

 ![Auth0Error (1)](https://global.discourse-cdn.com/auth0/original/3X/a/a/aad75f74d2bfe54828244e1a5c042ab90287b49f.png)

Upon trying to go into the API Management section and check everything, we can get a token there either it displays the message below:

 ![InkedCapture_LI](https://global.discourse-cdn.com/auth0/original/3X/8/e/8e4032b5d933037999b67391a38e655ca245ae2e.jpeg)

I’ve submitted a support ticket on Friday but no one has responded.

---

<div class="post-metadata">

**Author:** ![ricardo.batista](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ricardo.batista/32/7711_2.png) [@ricardo.batista](https://community.auth0.com/u/ricardo.batista)\
**Post date:** [February 21, 2021, 2:15pm UTC](https://community.auth0.com/t/api-error-internal-server-error-500/58220/2 "2021-02-21T14:15:34Z")

</div>

Hi @jamie,

In your tenant logs I see “ExtensibilityImplementationError on credentials-exchange: Script generated an unhandled asynchronous exception.”, which seems to be the issue, since you mention client\_credentials in your message.

There might be an issue with its logic. Can you try disabling the hook and checking if the error goes away? You  
can also try the Realtime Webtask Logs Extension to check: [Real-time Webtask Logs Extension](https://auth0.com/docs/extensions/real-time-webtask-logs)

---

<div class="post-metadata">

**Author:** ![jamie](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jamie/32/12805_2.png) [@jamie](https://community.auth0.com/u/jamie)\
**Post date:** [February 22, 2021, 11:02am UTC](https://community.auth0.com/t/api-error-internal-server-error-500/58220/3 "2021-02-22T11:02:03Z")

</div>

Hi,

We checked the hook and it was throwing an error when if there is no client appdata, we changed the logic for this check and it seems to pass through correctly now.

Thanks

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 25, 2021, 10:32am UTC](https://community.auth0.com/t/api-error-internal-server-error-500/58220/4 "2021-02-25T10:32:04Z")

</div>

Teamwork makes the dreamwork!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 25, 2021, 10:32am UTC](https://community.auth0.com/t/api-error-internal-server-error-500/58220/5 "2021-02-25T10:32:06Z")

</div>


