Platform

Lovable fixes

What usually breaks after you publish a Lovable app or point a domain at it.

Most Lovable problems after launch fall into two groups: the custom domain won't go live, or sign-in breaks once the app leaves the preview. Each fix below quotes Lovable's or Supabase's own docs and links them.

Burning credits on the same bug? See what Lovable's credits cost and when to stop the loop.

Lovable says its built-in backend uses Supabase's open-source foundation, so many Supabase auth fixes apply. If you connected your own Supabase project, change auth settings in the Supabase dashboard, not in Lovable.

Since 12 November 2026, when you publish a Lovable project that uses the built-in backend and has unresolved critical security findings, Lovable asks you to review them first. You can open them in the Security view, publish anyway, or ask Lovable to fix them all in one request, which uses one of your free fixes. Source: Lovable changelog, 12 Nov 2026, https://docs.lovable.dev/changelog

Lovable vs Bolt vs Cursor · Lovable vs Bolt vs Cursor: which is easiest to fix?

91 fixes: 27 in full, then 64 more by title.

Top Lovable fixes

  1. 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.

  2. OpenAI API key (sk-) is in the front-end code

    An OpenAI sk- key is in the browser bundle? OpenAI says never deploy a key in a browser. Revoke it and call the API from your server.

  3. Missing security headers: check HSTS, CSP, X-Frame-Options and nosniff

    A scanner says a security header is not set? Check all four at once: HSTS, Content-Security-Policy, X-Frame-Options and X-Content-Type-Options, then fix each one on your host.

  4. Lovable custom domain not working or stuck pending

    Connected your own domain to Lovable and it won't load or stays pending? Check the DNS records Lovable gives you and remove conflicting ones.

  5. Webhook signature verification failed. No signatures found matching the expected signature for payload

    Stripe webhook fails signature check? Usually the wrong whsec_ secret or your framework changed the raw request body. Here's the fix.

  6. supabaseUrl is required

    The console says supabaseUrl is required? createClient got an empty URL. Set the project URL the code reads, then rebuild.

  7. Lovable custom domain stuck on Verifying or Unable to verify

    Your Lovable custom domain sits on Verifying or shows Unable to verify? Lovable can't see its A and TXT records yet. Fix the records, turn off proxying, and recheck.

  8. 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.

  9. Supabase login redirects to localhost:3000 after deploy

    Login or email confirm sends users to localhost:3000 on your live site? Change Supabase's Site URL and add your domain to Redirect URLs.

  10. Netlify secret scanning failed the build

    Netlify stopped the deploy because secret scanning found a key in the repo or the build output? Remove that value, then deploy again.

  11. 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.

  12. 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.

  13. email rate limit exceeded (Supabase Auth)

    Supabase says "email rate limit exceeded" or sign-up emails stop? The built-in mailer allows only 2 emails an hour. Set up custom SMTP.

  14. 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.

  15. 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.

  16. Lovable custom domain stuck on Setting up, Stalled, or Failed (SSL)

    Your Lovable domain is verified but stuck on Setting up, Stalled, or Failed? The SSL certificate can't be issued. Check CAA records, then click Retry.

  17. Mixed Content: the page was loaded over HTTPS but requested an insecure resource

    Browser blocks requests with a "Mixed Content" warning on your HTTPS site? Change every http:// URL your app calls to https://.

  18. Vercel 404: NOT_FOUND when refreshing a page or opening a direct link

    Home page works on Vercel but refreshing /dashboard gives 404 NOT_FOUND? Add a rewrite to index.html for your single-page app.

  19. Environment variables are undefined in production

    Works locally but env vars are undefined once deployed? Add them to your host, use the VITE_ or NEXT_PUBLIC_ prefix for browser code, then redeploy.

  20. Netlify "Page not found" when refreshing or opening a link

    Netlify shows "Page not found" on refresh or deep links? Add the /* /index.html 200 rewrite so your single-page app handles routing.

  21. Anthropic API key (sk-ant-) is in the front-end code

    An Anthropic sk-ant- key shipped in the browser? The Claude docs tell you to keep the key in an environment variable and to proxy browser calls through your server.

  22. Invalid API key (Supabase)

    Supabase says "Invalid API key" on your live site? Usually the key or project URL env var is missing, mistyped, or from another project.

  23. Supabase service_role or secret key exposed in front-end code

    Is your Supabase service_role or sb_secret key in your browser code? Anyone can read it and bypass all security. How to rotate and fix it.

  24. Supabase Edge Function returns 401 (verify_jwt)

    An Edge Function returns 401 before your code runs? JWT verification is on, and the Authorization header is missing or is not a user JWT.

  25. new row violates row-level security policy for table

    Saving data fails with "new row violates row-level security policy"? Add an INSERT policy with a WITH CHECK rule and send the right user_id.

  26. 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.

  27. 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.

More Lovable fixes

Older or narrower fixes for Lovable. Titles only.

Questions people ask

Why is my Lovable custom domain not working?

Lovable shows a status for each domain in Project → Settings → Domains, and each status points to a different fix: DNS records for Verifying, the SSL certificate for Setting up, Stalled or Failed, and publishing for Ready.

Full fix: Lovable custom domain not working

Why does Lovable login fail after I publish?

Lovable says the published URL or custom domain is usually missing from the auth redirect URLs of your project.

Full fix: Lovable sign-in works in preview but fails when published

Why are my Lovable users not getting confirmation emails?

Lovable lists two reasons: the email landed in spam, or many sign-ups at once hit the hourly email rate limit.

Full fix: Lovable confirmation emails not arriving

Why does my Lovable domain stay on Setting up, Stalled or Failed?

Lovable has verified the domain but has not issued the SSL certificate, and CAA records at your DNS provider can block it.

Full fix: Lovable domain stuck on Setting up, Stalled, or Failed

All platforms

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.

See products