S
Supabase8mo ago
Mizu.

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
garyaustin
garyaustin8mo ago
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.
Mizu.
Mizu.OP8mo ago
thx I will try to look for it
Mizu.
Mizu.OP8mo ago
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*
garyaustin
garyaustin8mo ago
You'll need to provide some error info from the logs. Otherwise it is just guessing.
Mizu.
Mizu.OP8mo ago
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 ?
garyaustin
garyaustin8mo ago
You just add solved tag to first post.

Did you find this page helpful?