AI-built apps · Rescue
Your AI-Built App Is Broken or Half-Finished: What to Check
On this page ↓
An app built with Lovable, Bolt, Replit, Base44 or Cursor can look complete while important flows are unfinished. That is not proof the platform is unsuitable. Diagnose the actual failure before spending more on prompts or a rebuild.
The interface and database disagree
Trace one failing action from the button to its request and saved record. Early demo data and later live data may use different field names, relationships or identifiers. Look for missing migrations and a mixture of hardcoded and real responses.
Repair the data contract deliberately. Back up existing data before a migration, and verify that a saved record reads back after a refresh and under the correct user account.
Access rules were never tested
Check whether private API keys ended up in browser code and whether database permissions enforce who can read or change each record. Public client keys are not automatically secrets; their safety depends on correctly enforced permissions.
For databases exposed through a browser-accessible API, inspect row-level policies where supported. An 'authenticated users can do everything' policy may still expose one customer's records to another. Test two accounts and a signed-out request, including storage and server endpoints.
Fixes added competing implementations
Iterative edits can leave duplicate handlers, old service clients or two paths for the same operation. Symptoms include a bug returning after another change, duplicate saves or one screen updating while another stays stale.
Use version history to locate the regression. Consolidate the active path and add a test for the failing behaviour instead of piling another workaround onto the same feature.
Only the happy path works
Try an empty result, malformed input, denied permission and a slow or failed request. Blank pages and endless spinners often mean missing failure states, not that the whole product must be rebuilt.
Give the user a clear error and safe retry. Be especially careful with payments and booking actions: a retry must not create a duplicate charge or reservation.
Demo-sized data hid a scaling problem
Fetching a whole table, rendering huge lists or running an expensive request on every interaction may work for ten records and fail later. Measure query size and response times with realistic volumes.
Introduce appropriate pagination, query constraints and caching while preserving access rules. Review provider limits and recurring costs rather than treating every slow request as a code defect.
Before your next step
- Reproduce one failing flow and save its error details.
- Check exposed secrets and permissions before public launch.
- Compare expected fields with the actual database schema.
- Inspect duplicate paths and missing failure states.
- Request a scoped audit that separates repair work from a justified rebuild.