Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’4mo agoβ€’
9 replies
jamiegalbreath

500 error when creating anonymous user (signInAnonymously)

Hey everyone πŸ‘‹

I’m hitting this error whenever I call supabase.auth.signInAnonymously():
AuthApiError: Database error creating anonymous user

Details:
β€’ Anonymous sign-ins are enabled
β€’ CAPTCHA is disabled
β€’ Using latest @supabase/supabase-js
β€’ /auth/v1/health returns:
{"version": "v2.180.0", "name": "GoTrue"}

β†’ So my project is definitely on Auth v2

β€’ But in SQL:
select exists(select 1 from pg_catalog.pg_extension where extname = 'supabase_auth') as has_supabase_auth_extension;
returns false, and I only see 4 routines in auth (email, jwt, role, uid).

Auth log:
500: Database error saving new user
500: Database error creating anonymous user
path: /signup

Looks like GoTrue v2 is active, but my database auth schema hasn’t been upgraded (no supabase_auth extension).

πŸ‘‰ Can someone from the team confirm if this means I need a manual schema sync or migration?
πŸ‘‰ Has anyone else seen this after their project was auto-upgraded to GoTrue v2?

Thanks!

😭
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

Error 500 - user management
SupabaseSSupabase / help-and-questions
5mo ago
Creating an anonymous session
SupabaseSSupabase / help-and-questions
4y ago
500: Database error granting user
SupabaseSSupabase / help-and-questions
2mo ago
Unknown DB Error when creating a new user
SupabaseSSupabase / help-and-questions
13mo ago