Invalid response code from the auth0-sandbox: HTTP 400. Unexpected token 'function'

*while we click on the Reset Password , We are getting this issues and the Email is not Receiving from the Auth0 .

the User is Already Exits in the Auth0 user List.

In Logs We are getting the description as “Invalid response code from the auth0-sandbox: HTTP 400. Unexpected token ‘function’”

In Real Time Web-Task Log :-

what we need to solved this issue ?

Hi @rkolisetty

That is caused by your custom JavaScript having a syntax error. It looks like you have “function callback”, rather than just “callback” in one of your scripts. You should review all the custom JS and find the error.
Please let me know if you run into any issues with that!

1 Like

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