Attempting to update email for Custom DB user

Problem statement

If I try to change the email, then I get the following error: “Invalid response code from the auth0-sandbox: HTTP 400. Unexpected identifier”.

The weird thing is, I can change the email in two other tenants with exactly the same configuration as the mentioned tenant that is raising the Unexpected identifier. What could it be?

Solution

To debug the exact cause of this error, we recommend adding logging within the Get User script, and installing the Auth0 Real-time Webtask Logs Extension. This will allow you to monitor the script flow in detail and isolate any issues that are arising from this connection.