Troubleshooting

Fix common issues with your Lovable projects.

8 articles

Error with Edge Functions

Edge Functions run serverless code on Supabase. Check Cloud → Logs for the specific error (syntax, runtime, timeout). Verify that secrets (API keys, database credentials) are stored in Supabase Cloud → Secrets, not hardcoded. Test the function locally or in Supabase dashboard. Ensure the function has correct permissions and RLS policies. Redeploy via "Apply" button after fixes.

Is Lovable down right now / status page

Check status.lovable.dev or contact support@lovable.dev to see if Lovable is experiencing downtime. You can also check the Lovable Discord community for real-time updates from the team.

Not found preview or spinning up sandbox

The preview may be loading or there's a build error. Wait a few moments for the sandbox to spin up. If it persists, check the Cloud → Logs tab for errors. Refresh the browser. If the preview keeps failing, check that there are no syntax errors in the code. Try reverting to a previous version. Contact support@lovable.dev if the issue continues.

Preview is white

A white preview usually indicates a JavaScript error preventing React from rendering. Check Cloud → Logs for the specific error. Common causes: missing dependencies, syntax errors, or unhandled exceptions. Use "Try to fix" button to auto-detect and fix. Revert to the last working version and re-prompt with a clearer request. Inspect the browser console (DevTools) for more details.

UI or Layout Problems

Use Lovable's visual editor to inspect and fix layout issues directly. Click "Edit" in the prompt box, select the problematic element, and adjust sizing, positioning, colors, or margins via the sidebar controls. For alignment issues, check Tailwind CSS classes. Test on multiple screen sizes to ensure responsive design works. If issues persist, revert to a previous version and re-prompt.

What should I do if an issue does not resolve after a few attempts?

First, use the 'Try to fix' button (FREE, no credits)—it scans logs and attempts a quick fix, resolving ~60% of simple issues. If that fails, check Cloud tab → Logs for error details. Use Plan mode to investigate. If still stuck, break the change into smaller prompts or revert to an earlier version and retry. If nothing works, contact support@lovable.dev with error details.

When completely stuck

Use Plan mode to investigate the issue step-by-step before making changes. Check Cloud → Logs for error messages. Use the "Try to fix" button (free). Revert to a previous working version via version history. Break your request into smaller, simpler prompts. If still stuck, take a screenshot, note the error message, and contact support@lovable.dev with details.

Why is Lovable so slow

If Lovable feels slow, check your internet connection and browser performance. Lovable runs on modern browsers and requires a stable connection. Close unnecessary tabs, clear your browser cache, or try a different browser. If issues persist, check the status page or contact support@lovable.dev.