Platform
Supabase fixes
Login sends people to localhost, empty lists, refused saves, and API keys.
Start with these three:
56 fixes: 15 in full, then 41 more by title.
Top Supabase fixes
- Supabase signup_disabled: new accounts are turned off
Sign-up returns signup_disabled? Supabase's general Auth settings include Allow new users to sign up. When that is off, only existing users can sign in.
- permission denied for table (Supabase error 42501)
Supabase "permission denied for table"? The role lacks a GRANT on the table, which is checked before RLS. Add the grant, then a policy.
- Lovable sign-in works in preview but fails on the published app or custom domain
Login works in the Lovable preview and breaks on the published app or your own domain? Lovable says the address is usually missing from the auth redirect URLs.
- Lovable app users not getting confirmation emails or stuck unconfirmed
New users of your Lovable app never get the confirmation email, or stay unconfirmed? Check spam, the hourly email limit, and which backend sends the email.
- Lovable Google sign-in fails on a custom domain
Sign in with Google works on the Lovable URL and fails on your domain? Add that origin in Google and in Supabase Redirect URLs.
- Supabase confirmation or password reset email not arriving
Users never get the Supabase confirm or reset email? Check the rate limit, set up custom SMTP and fix the link's Site URL.
- Lovable Supabase connection broke: 'Supabase connection issue'
Lovable shows Supabase connection issue, or won't let you connect your Supabase project? The linked project is gone, paused, or your workspace lost access. Reconnect or disconnect.
- Lovable authentication errors: find the right fix
Lovable app login or sign-up failing? Match what you see to the cause: redirect URLs, confirmation emails, Google sign-in on a custom domain, or sign-up turned off.
By auth stage: Supabase auth errors, sorted by the step that fails
More Supabase fixes
Older or narrower fixes for Supabase. Titles only.
- too many connections / remaining connection slots are reserved (Supabase + serverless)
- Supabase auth emails land in spam
- Supabase refresh_token_already_used: Refresh token has been revoked and falls outside the refresh token reuse interval
- Supabase Auth over_request_rate_limit (429 Too Many Requests)
- Supabase Auth flow_state_not_found or flow_state_expired
- Supabase Security Advisor warnings explained
- Supabase Edge Function CORS error: Response to preflight request doesn't pass access control check
- Supabase insert works, .select() returns 42501
- Supabase Storage upload fails: new row violates row-level security policy
- Supabase Storage images not loading
- Supabase error: JWT expired
- Supabase data loads only after a refresh
- Supabase error: Email address not authorized
- Supabase PGRST116: .single() did not get exactly one row
- Supabase otp_expired: OTP code for this sign-in has expired
- Supabase email_not_confirmed: Signing in is not allowed for this user as the email address is not confirmed
- Supabase PGRST205: the table in the request URI was not found
- Supabase Auth invalid_credentials
- Supabase: Database error saving new user
- Supabase returns an empty array [] but the table has data
- How to check that Row Level Security is on for every Supabase table
- Stripe paid, but the user was not upgraded
- Prisma: prepared statement "s0" already exists
- Sign in with Google fails on a custom domain
- Prisma P1001: Can't reach database server
- Prisma P1000: Authentication failed against database server at {database_host}, the provided database credentials for {database_user} are not valid
- Prisma P2024: Timed out fetching a new connection from the connection pool
- Prisma P2002: Unique constraint failed on the {constraint}
- Prisma P2021: The table {table} does not exist in the current database
- Prisma P2025: An operation failed because it depends on one or more records that were required but not found
- Lovable app is a blank white or black screen after publish
- Lovable export code won't run locally or on another host
- Lovable app not deploying or not working after publish
- infinite recursion detected in policy for relation
- Invalid JWT after switching to sb_publishable or sb_secret keys
- My app won't come back after a restart: is it me or the platform?
- CORS: Content-Type application/json is not safelisted and triggers a preflight
- Edge Function returned a non-2xx status code
- User already registered
- Blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present
- Error 400: redirect_uri_mismatch (Sign in with Google)
Keep going on your own.
The guides stay free. A deep leak report is $15. Fix packs are $24, or $49 for all three. There is no done-for-you repair.