Futurista Soft Book a call (opens in a new tab)
Founder guide

Built an app with AI and now it’s not working? Start here

Last reviewed 25 November 2026

You built it with an AI tool, it worked, and now it doesn’t. Maybe it’s a blank screen, a sign-in that fails, or data that won’t save, and every new prompt seems to make it worse. Here’s where to look first, whichever tool you used.

Short answer

Stop prompting and save a copy of your code and data. Check the tool’s status page, then work out whether only the preview is broken or the live app too. Read the exact error, go back to the last version that worked, and check the usual causes: missing keys, database access rules, sign-in addresses and usage limits. Change one thing at a time.

Rather talk it through with someone? Tell us what’s broken →

First: stop and save a copy

One prompt can change several files at once. Before you send another, protect what you have.

  1. Save the code. Connect the project to GitHub or download it. We cover how for Lovable, Bolt, Replit and Base44.
  2. Save the data. If real people use the app, export the database first. Going back to an older version of the code doesn’t always bring the data back. In Lovable, for example, reverting restores the code, not what’s in your database.
  3. Write down what changed. The last prompt, setting or service you touched before it broke is your best clue.

Is it the tool, or your app?

Sometimes nothing is wrong with your app at all. Check the status page for the tool you built with, and for the services your app runs on:

If the editor itself won’t load, try a hard refresh, a private window, or turning off browser extensions. If it works in a private window, the problem is probably your browser, not your app.

Preview or live: which one is broken?

AI builders usually keep two versions of your app: the preview you edit, and the live app your customers use. They can behave differently.

Read the real error

“It’s broken” gives the AI nothing to work with. The exact error message does. Look in three places:

Paste the exact error into your prompt, with what you did, what you expected and what happened instead.

What it usually means

What you seeUsually points toTry first
Blank white screenA code error while the page loadsCopy the first red error from the console, then go back to the last working version
Works in preview, not on the live siteChanges not published, or keys and settings missing on the live appPublish, then check the live app has every key and setting the preview has
Sign-in fails, loops or lands on the wrong pageThe live address isn’t in the allowed sign-in addressesAdd the live address, and your own domain, to the sign-in settings. Lovable example: sign-in not working
Lists are empty, or saving fails with “permission denied”Database access rules, often called row-level securityFix the rule so each user can reach their own rows. Don’t switch the rules off. See fixing Supabase problems
Payments don’t complete, or orders don’t appearTest keys on the live site, or payment events that don’t reach your appSee fixing Stripe checkout and webhooks
Emails don’t arriveThe sending domain isn’t verified, or the email service’s key is missingSee emails not sending
AI features stop answeringNo credit left, too many requests, a missing key or a retired modelCheck the AI provider’s billing and usage pages, then its error logs
Your own domain shows an errorDNS records at your domain providerSee custom domain not working
Worked yesterday, broke after a promptThe last changeGo back to the version before that prompt
Broke with no change at allSomething outside the code: an outage, a paused database, an expired key or used-up creditCheck the status pages and each service’s dashboard. On Lovable, also check your credits: running out pauses sign-in, the database and AI features

When the AI features in your app stop working

If your app uses AI to write, chat or analyse, those features call an outside provider such as OpenAI, Anthropic or Google. They can fail for reasons that have nothing to do with your code:

Get out of the fix loop

Asking “fix it” again and again piles new guesses on top of the old problem. Some people call this debugging decay. Try this instead:

  1. Ask it to explain before it changes anything. For example: “Don’t change any code yet. Tell me why the save button does nothing.”
  2. After two failed attempts, go back to the last working version and try again with a clearer prompt.
  3. Make one change at a time, and test it before you ask for the next.
  4. Tell it what you’ve already tried, so it doesn’t repeat the same idea.
  5. Start a fresh chat if the thread is very long, with a short summary of the problem and the exact error.

Don’t make it worse

Before real customers arrive, run through our security checklist for AI-built apps.

Guides for the tool you used

When to stop prompting and get help

Bring in a developer when:

A developer who reads the code and the logs works from the cause, not from guesses. See how we make AI-built apps ready for real customers, or, if you want someone to take the whole app over, app rescue.

Questions founders ask

Do I have to start again?

Not usually. Keep a copy of the code and the data before you decide anything. A version that worked a few days ago, plus a list of what changed since, is often enough to get going again.

Why does the AI say it’s fixed when it isn’t?

“Fixed” means the AI changed something. It doesn’t prove the problem has gone. Test each fix yourself, and give it the exact error instead of “it’s still broken”.

My app broke and I didn’t change anything. How?

Something outside the code changed. The tool or a service it uses may have an outage, a free database may have been paused for low activity, an API key may have expired or run out of credit, or a provider may have retired the AI model your app asks for. On Lovable, running out of workspace credits pauses sign-in, the database and AI features while the pages still load.

Is it safe to paste my keys into the chat to fix it?

No. Keep secret keys in the tool’s secrets settings, never in a prompt, a screenshot or the code. If a key has ended up somewhere public, create a new one and delete the old one.

Read next