Error when trying to create a new user
Hello, I'm a beginner on supabase, and I'm trying to create a new user for my project, so I click on the green button <Add user> and complete the form with an email and a password, but then I get the following error : "database error creating new user".
My project is completely new, my email is existing and I have no other existing user on this project yet.
If someone has an idea I would be gratefull 😁 (sorry for my bad english btw)
7 Replies
Check the Postgres and Auth logs for errors. You most likely have a trigger on auth.users that you added for a profile table or such and it is failing.
thx I will try to look for it
I do not have any triggers, I am basically trying to create a new user from the dashboard and i get the same error
I have the same issue on a fresh project before running my prisma migrétions
migrations*
You'll need to provide some error info from the logs. Otherwise it is just guessing.
I went offline 20 minutes and when I came back it was all solved 😅 Good enough for me but still well confusing haha
How do I close this post ?
You just add solved tag to first post.