Auth0 Home Blog Docs

Invalid_request: The client with id: xxx was not found

I use lock on my angular application. Most of the time it works fine. But occasionally the login returns with an " Oops!, something went wrong" error page.
On the bottom, the detail of the error says

invalid_request : The client with id: “xxxx” (dev-xxxx) was not found
TRACKING ID: 0a62fe9069bffec6caeb

Actually the client id was correct. And no login record in auth0 logs.

What is this error?
And what is “dev-xxxx”, can I change it to my project name? If it error happens again, at least my clients can see my project’s name.

That error message appears when the tenant name (the dev-xxxx, in your case) cannot be found. Can you double check if your domain name is correct in your angular app? Your domain should be something like “tenant.auth0.com”.

auth0Client$ = (from(
createAuth0Client({
domain: “YOUR_DOMAIN”,
client_id: “YOUR_CLIENT_ID”,
redirect_uri: ${window.location.origin}
})
)

I have double checked the domain. The domain is correct, we are using a custom domain.
This project has been working for several months. We did not change the code or settings.
But about 12 hours ago, it suddenly returned to the error page. The error page continued to appear for several hours and now works properly again.