© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
2 replies
David Charles

Which case shows error 500 when create existing user

Normally when Auth admin create user (if user existing before) it will show error
{"name":"AuthApiError","message":"A user with this email address has already been registered","status":422}

But rarely it show error 500
{"name":"AuthApiError","message":"duplicate key value violates unique constraint "users_email_partial_key"","status":500}
Please help me which case show this error.
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

Create user trigger 500
SupabaseSSupabase / help-and-questions
4y ago
error 500 trying to create a user
SupabaseSSupabase / help-and-questions
5mo ago
500 error when creating anonymous user (signInAnonymously)
SupabaseSSupabase / help-and-questions
4mo ago
Error 500 - user management
SupabaseSSupabase / help-and-questions
5mo ago