If your Lovable app works in the preview but not when published, check three things first: that you have published the latest version, that your sign-in addresses include the live domain, and that your workspace has credits for its backend. This guide walks through those and four other common faults, using Lovable’s own documentation.
Before you prompt again
Repeated guessing is how a small fault becomes a tangled one. Do these first:
- Write down what you did, what you expected and what happened.
- Copy the exact error message, from the published site if that is where it fails.
- Bookmark the last version that worked in version history.
Know what reverting does. Lovable says reverting restores your project’s code only. It does not roll back database data, so records added or changed since then stay as they are.
Quick diagnosis
| What you see | Look at |
|---|---|
| Blank screen on the live site | The browser console on the published address |
| Live site shows old content | Whether you published again |
| Login works in preview only | Site URL and redirect URLs |
| Confirmation email never arrives | Spam, link expiry and sending limits |
| Own domain not loading | DNS records and domain status |
| Pages load but data does not | Cloud credits and backend logs |
| Each fix breaks something else | Plan mode, then revert |
1. Blank screen when published
A blank page usually means the app’s code stopped with an error before drawing anything. The preview may not show it.
- Open the published address in a private browser window.
- Open developer tools (F12 on most Windows browsers) and select Console.
- Reload, then copy the first error shown in red.
- Give Lovable that error, for example: “My published app shows a blank screen. The browser console says: [paste]. Find the cause before changing code.”
Common causes, in our experience of web apps generally: a setting or key present in the preview but missing on the live site, a page that assumes a signed-in user, or an address that the app does not recognise when opened directly. Lovable’s debugging guide notes that pasting the exact error helps when a fault happens outside the preview.
2. Your changes are not on the live site
The live site keeps showing the version you published. Later changes stay off it until you publish again. If Lovable shows critical security findings while publishing, read them rather than clicking past: its checks cannot guarantee an app is secure, but an open critical finding deserves attention.
3. Login works in preview but not on your domain
Sign-in services only send people back to addresses they have been told about. Lovable’s authentication documentation says that if sign-in works in preview but breaks on your published app or custom domain, these URLs are usually the reason.
- Using Lovable’s built-in backend: Lovable keeps the Site URL and redirect URLs up to date when you publish and connect a domain. Check them anyway if you changed them by hand.
- Using your own Supabase project: check Supabase’s URL configuration yourself. Set the Site URL to your live address instead of a localhost address, which also matters for confirmation and password reset emails, and list every address users return to.
- Google sign-in with your own Google credentials: add the new domain’s redirect address in Google Cloud Console too.
4. Confirmation emails do not arrive
For apps on Lovable’s built-in backend, its email sign-in documentation gives two useful facts: an unconfirmed user’s email may have expired or gone to spam, and signing in again does not resend it. There is also an hourly limit on sign-in emails, which matters if many people join at once. If your app uses your own Supabase project, these settings live in Supabase.
5. Custom domain not working
Custom domains need a paid plan, and the project must be published first (Lovable: custom domains). Then, from the connection guide:
- Compare your domain’s A, AAAA and CNAME records with those Lovable gives you, and remove records left from a previous host.
- Add the verification TXT record exactly as shown.
- If the security certificate does not issue, check whether CAA records are blocking it.
- Allow for DNS changes taking up to 72 hours, although most are quicker. After that, contact Lovable support.
6. Pages load but data or sign-in does not
Check your credit balance. Lovable states that when credits run out your published pages stay live, but parts needing the backend or AI stop responding. Backend services such as the database, storage and sign-in pause once both the monthly Cloud allowance and general credits are gone. Your data is kept, but you cannot access or export it until the services run again.
If credits are not the problem, look at the backend logs. They record sign-in, database, function and storage events, and you can paste an entry into the project chat.
7. Stuck in a fix loop
Lovable’s own advice is to work in this order:
- Use Try to fix once or twice. Ten fixes are free, and each becomes available again 24 hours after use.
- If the error survives, describe what is broken, where, what you expected and what happened.
- Switch to Plan mode and ask for the root cause before more code changes.
- Revert if the attempted fixes have tangled the code.
A message you can adapt:
Do not change code yet. When I [action] on [page], I expected [result] but saw [actual result and exact error]. It last worked [when]. List the likely causes, say how to confirm each one, and say which files or database rules you would need to change.
When to stop and ask a developer
- The same fault has come back after several attempts.
- The problem involves sign-in, permissions, payments or other people’s data.
- You are not sure what a stranger could read or change.
The National Cyber Security Centre advises more hands-on review for sign-in logic, sensitive personal data and secret keys. If you want a second pair of eyes, our review for AI-built apps is £425 and reports within three working days of access. Webgenix is not affiliated with Lovable.
Never send passwords or secret keys by email or chat. Invite access instead.
Sources
Added or checked on 28 November 2026.
- Lovable: publish your project
- Lovable: version history
- Lovable: debug and improve your app
- Lovable: chat and free fixes
- Lovable: users and authentication
- Lovable: email authentication
- Lovable: custom domains
- Lovable: connect a domain
- Lovable: out of credits
- Lovable: logs
- Lovable: security
- Supabase: redirect URLs
- NCSC: the vibe coding spectrum
Comments (0)
No comments yet. Be the first to share your thoughts!