Lovable, Bolt and similar tools can take you from an idea to a working preview in an afternoon. That speed is real, and so is the catch: the preview shows you the happy path on one laptop, in one browser, logged in as you. Your customers will use the app on old phones, with two accounts, with bad Wi-Fi, and in an order nobody planned.
The bugs below are not exotic. They are the ordinary, predictable gaps that appear when code is generated faster than it is tested. For each one you’ll find why it happens, how to check for it yourself in a few minutes, and what to ask your AI tool to do about it.
1. Users can see each other’s data
Why it happens. Many AI-built apps use Supabase or a similar backend. The tool creates tables and queries, but row-level security (the rules that decide who may read which rows) is often missing, switched off, or written too loosely.
How to check. Create two test accounts. As user A, create something private: a booking, a note, an invoice. Copy the URL of that item, log in as user B in another browser, and paste it. Then open your browser’s developer tools, look at the network requests, and see whether any response contains other users’ records.
What to ask your AI tool. “Enable row-level security on every table that stores user data. Add policies so users can only select, insert, update and delete rows where user_id equals auth.uid(). Return a 404 page when a record doesn’t belong to the current user.”
2. Secret keys shipped to the browser
Why it happens. When a feature doesn’t work, the quickest fix the AI finds is sometimes to use a more powerful key, such as a Supabase service-role key or a payment secret key, in front-end code. Anything in front-end code can be read by anyone.
How to check. Open your live site, view the page source and the loaded JavaScript files, and search for words like service_role, sk_live, secret or api_key. Public “anon” or “publishable” keys are expected; secret keys are not.
What to ask. “Move every secret key to server-side code or an edge function. The browser should only ever use the public anon key. Rotate any key that was exposed.”
3. Sign-up breaks on iPhone
Why it happens. Layouts are previewed on desktop Chrome. Safari on iPhone treats screen height differently, and the on-screen keyboard can cover the very button users need to tap.
How to check. Open your sign-up page on a real iPhone. Tap each field and see whether the submit button is still reachable without closing the keyboard. Try it in landscape too.
What to ask. “On the sign-up page, make the form scroll so the submit button stays visible while the iPhone keyboard is open. Use 100dvh instead of 100vh for full-height containers. Don’t change the desktop layout.”
4. Emails link back to the preview
Why it happens. Verification and password-reset emails are configured while you’re building, so their redirect URL points to localhost or a preview domain. After launch, the links quietly go nowhere.
How to check. On your live domain, sign up with a fresh email address and request a password reset. Click every link in every email and note where it takes you.
What to ask. “Set the site URL and redirect URLs for authentication emails to our production domain. Make sure the email verification and password reset links open the live site.”
5. Cancelled subscriptions keep charging
Why it happens. The checkout is wired up, but the events that come back from the payment provider (webhooks) are not handled. The app shows “cancelled”, while the provider keeps billing.
How to check. In test mode, subscribe, cancel, and then check the payment provider’s dashboard. Is the subscription actually cancelled? Was a refund created where your policy promises one? Try a failed card too.
What to ask. “Handle the payment provider webhooks for subscription updates, cancellations and failed payments. Update the user’s plan only from verified webhook events, not from the success page.”
6. Forms that only validate in the browser
Why it happens. The AI adds a required attribute and a pattern, and the form looks validated. Nothing checks the data again on the server, so empty or malformed values can still be saved by anyone who skips the form.
How to check. Submit forms with spaces only, very long text, emoji, a negative quantity or a date in the past. Look at what was saved.
What to ask. “Validate every form on the server as well as in the browser. Reject empty, too long or invalid values with clear error messages next to the field.”
7. Layouts that collapse on tablets
Why it happens. Designs are tested at phone width and desktop width. The range in between, roughly 768 to 1100 pixels, is where navigation bars wrap, cards squeeze and text overlaps.
How to check. In your browser’s device mode, slowly drag the width from 1440 down to 360 pixels and watch the header, tables and cards. Or test on an iPad in both orientations.
What to ask. “Between 768px and 1100px the header links overlap the content. Switch to the compact menu below 1100px and let cards wrap to two columns. Keep the phone and desktop layouts unchanged.”
8. No empty, loading or error states
Why it happens. AI tools generate screens filled with sample data. A brand-new user with no data, a slow connection or a failed request gets a blank page or a spinner that never stops.
How to check. Log in with a brand-new account. Then throttle your network to “Slow 3G” in developer tools and use the app. Finally, turn the network off mid-action.
What to ask. “Add an empty state with a clear next step for new users on every list page, a loading state for every data fetch, and a friendly error message with a retry button when a request fails.”
9. Logging out doesn’t really log out
Why it happens. Protected pages check the login state only when they first load. After logout, the back button can show cached private pages, or protected content flashes before the redirect.
How to check. Log in, open a private page, log out, then press the back button. Also open a private URL directly in a private window.
What to ask. “Protect private routes on the server, not only in the browser. After logout, clear the session and redirect any private page to the login screen without showing its content.”
10. Fixes that break something else
Why it happens. When you ask an AI tool to fix one bug, it may rewrite several files. The bug is gone, but sign-up or checkout no longer works. Along the way, placeholder text and dead links tend to survive into production.
How to check. After every fix, run through your three most important flows again, not just the one you changed. Search the live site for “Lorem”, “TODO” and “example.com”.
What to ask. “Fix only this bug. Don’t change other components or styles. List every file you changed.”
The pattern behind all ten
None of these bugs mean the tool is bad or that you made a mistake. They come from the same gap: code that has been generated and previewed, but not used the way real customers will use it. The fix is equally simple. Before launch, and after every significant change, someone needs to go through the app deliberately on real devices, with more than one account, and write down what breaks.
You can do that yourself with the checks above. If you’d rather have a second pair of eyes, our AI-built app testing covers all ten, and the free 3-bug check is a quick way to see how we report what we find. For the full list of things to check before launch, see our pre-launch QA checklist.