AuthApiError: Database error saving new user #38886
Answered
by
GaryAustin1
DevarshLade
asked this question in
Questions
-
Beta Was this translation helpful? Give feedback.
Answered by
GaryAustin1
Sep 20, 2025
Replies: 2 comments 1 reply
-
|
Hi @DevarshLade - Have you got the code your are using please? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Database error saving user is almost always you have an auth.users trigger function that is failing. You can check in the Dashboard UI under Database/Triggers and select the Auth schema to see what triggers you added. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DevarshLade
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Database error saving user is almost always you have an auth.users trigger function that is failing. You can check in the Dashboard UI under Database/Triggers and select the Auth schema to see what triggers you added.
Also look at the Postgres logs and you should see the exact error message for the database error.