FixLoop

Guides

Short write-ups for the Lovable + Supabase bugs we keep seeing.

PRICING · COMPARISON

How much does it cost to fix a broken Lovable app?

DIY, marketplace freelancers and fixed-price services, with published prices linked and checked Oct 21, 2026. What drives cost and how to scope a fix.

Compare fix prices
AUTH · EMAIL

Supabase email not sent: Email address not authorized

The default SMTP only mails your Supabase team. Real users get no confirmation email. Connect your own SMTP and raise the rate limit.

Fix auth emails
DEPLOY · CUSTOM DOMAIN

Lovable custom domain not working

Stuck on Verifying, an SSL warning, or your old site still loading. A, AAAA, TXT and CAA records, the Cloudflare proxy, and auth URLs for the new domain.

Fix the custom domain
AUTH · DEADLOCK

Blank screen after login: onAuthStateChange deadlock

Login succeeds, then the app hangs forever. An await inside onAuthStateChange deadlocks supabase-js. Defer with setTimeout(0).

Fix the post-login hang
SUPABASE · RLS

Select returns empty array with no error

data: [], error: null, but rows exist. RLS is filtering them silently. The SQL editor bypasses RLS. Your app does not.

Fix the empty array
SUPABASE · RLS

Is my Supabase database public?

Anon key in the client is normal. RLS off is not. Copy the key, hit the REST endpoint with no login, and tell rows apart from empty, 401, and 42501.

Run the public check
SUPABASE · OCT 30, 2026

New tables need an explicit GRANT

Starting October 30, existing projects stop auto-granting privileges on new public tables. You get 42501 permission denied even with RLS policies. Or paste a migration into the free GRANT checker.

See the Oct 30 fix
FREE TOOL · OCT 30

Check migrations for missing GRANTs

Paste SQL in your browser. We list the GRANT statements new public tables need after October 30. Your SQL never leaves your browser.

Check your migrations
STRIPE · TEST VS LIVE

Stripe works in test mode, fails in live

Test mode and live mode are separate worlds. API keys, webhook secrets, products, and prices all need live counterparts.

Fix test vs live
STRIPE · EDGE FUNCTIONS

Stripe webhook 401 on Supabase Edge Functions

Stripe never sends a Supabase JWT. verify_jwt returns 401 before your handler runs. Turn it off, then constructEventAsync on the raw body.

Fix the webhook 401
AUTH · PREVIEW VS PROD

Lovable authentication errors in preview vs production

Site URL, Redirect URLs, and the OAuth provider callback are three different lists. Production fails when only the preview host is allowlisted.

Fix preview-only login
SUPABASE · RLS

Saved but nothing saved

The spinner succeeds, the row does not change. RLS USING matched zero rows, and supabase-js reports no error unless you .select().

Debug the silent save
DEPLOY · PREVIEW VS PROD

Lovable app not deploying or not working after deploy

VITE_ vars only on Preview, secrets the host never got, and Vite inlining env at build. Changing env later does nothing until you rebuild.

Fix the deploy break
LOVABLE · PREVIEW VS DATA

Preview uses your live database

Preview and drafts isolate code, not data. Test and Live is retired. How to test without wiping real rows, and what to do if you already did.

Read the shared-DB warning
SUPABASE · ADMIN ROLES

Admin roles without trusting user_metadata

The signed-in user can change user_metadata. Put the role on the JWT with a Custom Access Token Hook, and enforce it in RLS, not in the navbar.

Lock down admin roles
LOVABLE · SUPABASE

Connect an existing Supabase project

Lovable lists projects from the org you authorized, not from every org you own. Link the right org, skip Cloud if you already have a backend, resume paused projects.

Show the missing project

Need this fixed for you? Send the app URL. We reproduce it in your repo and send a PR within 24 hours.

Tell us what's broken

Still stuck? Paste the error and we'll email you the likely cause, free.