# Application API is not working After integration with Auth0

**URL:** <https://community.auth0.com/t/application-api-is-not-working-after-integration-with-auth0/189731>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [July 28, 2025, 6:27am UTC](https://community.auth0.com/t/application-api-is-not-working-after-integration-with-auth0/189731 "2025-07-28T06:27:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbodhe](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rbodhe/32/74354_2.png) [@rbodhe](https://community.auth0.com/u/rbodhe)\
**Post date:** [July 28, 2025, 6:27am UTC](https://community.auth0.com/t/application-api-is-not-working-after-integration-with-auth0/189731/1 "2025-07-28T06:27:59Z")

</div>

Ready to post? 🔎 First try searching for your answer.

We are having the application deployed into the production and the deo environment having the SSO enabled. Both the environments are having the separate tenants. The production environment gets accessed regularly and its SSO is working without any issue. But the Demo environment is rarely used and was used 3 months before. It was working at that time without any issue. After 3 months we have deployed the working branch of the production to the demo environment and found that user is not able to pass the Authentication. We did some investigation and found that the secrete was expired. We have renewed the secrete and updated the same into the Auth0 configurations. Post that , Auth0 system was able to authenticate the user without any issue. After authentication the Auth0 was calling the callback url and post that the application rest api’s, the rest api call’s are getting failed when the Auth0 is enabled. But same works when we do not have any Auth0 enabled. The error we get from accessing rest api is 500 Not found. We tried multiple way to fix the same but still the same error is coming. For more clarity I am repeating again that same application api’s works when we do not enabled auth0 but it fails when we have auth0 enabled. Below is the error:

```auto
HTTP ERROR 500 Not Found
URI:	/rest/users/userData/loginEnterprise
STATUS:	500
MESSAGE:	Not Found
SERVLET:	default

```

Requesting assistance if anyone knows the solution for the same.

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [July 31, 2025, 6:18pm UTC](https://community.auth0.com/t/application-api-is-not-working-after-integration-with-auth0/189731/3 "2025-07-31T18:18:31Z")

</div>

Hi @rbodhe

Welcome to the Auth0 Community!

Reading through your use-case, I believe there could be a couple of reasons why you’re getting this error message, likely something misconfigured on the application’s backend. Please check the following in case the issue might lie in any of these:

- check that the **Issuer** and the **Audience** match;
- check the backend application’s logs in case it offers more details of the error;
- ensure that the **scopes** and **permissions** are correctly set, enable [RBAC](https://auth0.com/docs/manage-users/access-control/rbac) in case your app uses this feature.

Hope this helped!  
Gerald

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 14, 2025, 6:19pm UTC](https://community.auth0.com/t/application-api-is-not-working-after-integration-with-auth0/189731/4 "2025-08-14T18:19:21Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
