© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
3 replies
Nguyễn Trung Đức

Cannot Create User – Supabase Auth Returns 500 Internal Server Error

Description:
Project ref: nvuuhxnsbhedqqhcafij
I am unable to create a new user via Supabase Auth (both through the Dashboard and the REST API). Every attempt to sign up a user returns a 500 Internal Server Error.
I have checked and confirmed that:
All RLS policies, triggers, and functions are correctly set up.
The user_profiles and auth.users tables are both empty (no users exist).
The insert policy for user_profiles is set to WITH CHECK (true).
There is a trigger on_auth_user_created on auth.users that calls a function to insert into user_profiles. The function is correct and does not raise any exceptions.
All foreign key constraints are standard and as per Supabase defaults.
There are no errors in the Auth logs or Postgres logs.
I have tried creating a user via the Dashboard, API, and CLI, but all attempts fail with the same error.
This issue persists even after multiple checks and resets.
It appears to be an internal issue with Supabase Auth or the project setup.
Steps to Reproduce:
Go to /admin/register or Dashboard > Authentication > Add User.
Enter any email and password.
Submit the form.
Receive a 500 Internal Server Error from Supabase Auth.
Request:
Please investigate and resolve this issue, or reset the Auth system for my project if necessary. If you need any further information or logs, please let me know.
Thank you!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

auth v1 user 500 Internal Server Error
SupabaseSSupabase / help-and-questions
4y ago
500 (Internal Server Error) w/ Auth
SupabaseSSupabase / help-and-questions
3y ago
Supabase Website - Error 500 - Internal Server Error
SupabaseSSupabase / help-and-questions
4y ago
supabase calling supabase.auth.user().id crashes server error 500
SupabaseSSupabase / help-and-questions
4y ago