© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
7 replies
Nick

Auth error: "relation audit_logs does not exist" - blocking all new user signups

Description:
I'm trying to allow users to sign up for my application (both email/password and Google OAuth), but every signup attempt is failing with a database error.

What's going wrong:
All user creation attempts fail with this error:
ERROR: relation "audit_logs" does not exist (SQLSTATE 42P01) Database error creating new user

What I've discovered:
- My auth schema contains a table named audit_log_entries (not audit_logs)
- The Supabase Auth service is looking for auth.audit_logs which doesn't exist
- I cannot create the missing table because auth schema is read-only
- This was working previously and suddenly stopped working

Environment details:
- Platform: Web (Next.js)
- Framework: Next.js 15.3.3
- Library: @supabase/supabase-js@2.50.0
- @supabase/ssr@0.5.2
- @supabase/auth-helpers-nextjs@0.10.0
- Project ref: wgofkssqahgiwjtypipc
- OS: Production deployment on Vercel

Impact:
No new users can create accounts. All authentication methods are failing with the same 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

RLS Enabled on auth.users Table Blocking User Signups
SupabaseSSupabase / help-and-questions
3mo ago
relation does not exist
SupabaseSSupabase / help-and-questions
4y ago
Error "relation "sessions" does not exist" during auth token refresh
SupabaseSSupabase / help-and-questions
13mo ago
Relation "clientes" does not exist
SupabaseSSupabase / help-and-questions
13mo ago