Hello I can’t signup with a new user, I always receive this error message:
The user already exists.
I am using a custom mongodb database currently with no user stored inside.
Does anyone has an idea about what I m doing wrong ?
Many thanks.
Can you clarify the following:
- Do you have
Import to Auth0
turned on for the custom database connection? - Can you check whether that user exists by doing a user search via Management API v2
Hi, thank you for your answer, I have tried both options import to Auth0 and not import to Auth0, but i get the same result. The user I’m trying to add can’t exist because I user with very original email like ffggjj@oop.com or bghtf@cc.com or whatever else that can’t already exist.
Can you please try the following to debug the issue:
- Add
console.log();
statements inside yourCreate
script in your custom database connection settings; I suggest adding them before eachcallback
call. - Monitor the logs using the Realtime Webtask Logs extension
- Perform a signup using a non-existent email address in your custom db
- See which
console.log
statements were executed in your script.
Can you please try the following to debug the issue:
- Add
console.log();
statements inside yourCreate
script in your custom database connection settings; I suggest adding them before eachcallback
call. - Monitor the logs using the Realtime Webtask Logs extension
- Perform a signup using a non-existent email address in your custom db
- See which
console.log
statements were executed in your script.
Thank you Prashant,
I had put a wrong ‘Get User’ script.
I corrected it and it’s now OK,
Thank you very much for your help and the trick about RealTiem WebTask Logs Extension.