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!
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!