500 Internal Server Error

The logs indicate that the "Database error updating user" is originating directly from the Supabase authentication service itself, specifically when it attempts to create or update the user record in its internal tables. This is an internal server error (HTTP 500) from Supabase's API, which means the problem is not within your application code or the custom database functions we've been trying to fix. Unfortunately, this type of error is beyond what can be resolved by modifying your application's code or database migrations, as it points to an issue with the Supabase service itself. For this kind of persistent internal error with Supabase, the best course of action is to reach out to their official support or check their status page for any ongoing incidents.
No description
1 Reply
silentworks
silentworks3w ago
It's likely you created a database trigger that is failing when it runs. You should look at the Auth and Postgres logs in the dashboard. This is almost always you have a trigger function on auth.users that is not working. https://github.com/orgs/supabase/discussions/13043
GitHub
Database error saving new user · supabase · Discussion #13043
You generally get this error when trying to invite a new user from the dashboard or when trying to insert a user into a table using the table editor in the Supabase dashboard. This error is normall...

Did you find this page helpful?