Your AI-built app stopped working while you were away: revive a paused Supabase project (540)
You built an app with Lovable, Bolt, Cursor or Replit, shipped it, and moved on. Weeks or months later you open it again: nobody can sign in, the pages that load data are empty, and you haven't changed a line of code. Most of the time nothing is wrong with the code. The free Supabase project behind the app was paused, or a platform changed something while you were away. This guide gets the app back without losing data, then walks through what changed since you left.
Step 1: is the project paused? (two minutes)
- Open your live app in Chrome, Edge or Firefox and press F12 (or right-click → Inspect). Open the Network tab.
- Reload the page and click a red request to an address that ends in
.supabase.co. - Read the status code and find it in the table below.
- Search your inbox for emails from Supabase. Supabase emails the project owner about a week before a pause and again once the project is paused. If you signed up with an address you don't read, that's why it felt sudden.
| What you see | What it means | What to do |
|---|---|---|
Status 540 | The project is paused. It can't answer any request until the owner resumes it. | Step 2 below |
Status 402 | Supabase restricted the organization, for example for going over the free quota or an overdue bill. The response says why. | Reduce usage or upgrade. Resuming won't help. |
Invalid API key or 401 | The key in the app was changed or turned off | See the Supabase keys guide |
42501 permission denied on a table | The table was created after October 30, 2026 without grants | See the 42501 guide |
No request to .supabase.co at all, or a blank page | The problem is in the front end or the host, not the database | See works in preview, breaks after deploy |
Why it happens: Supabase pauses Free Plan projects that get too little database activity over 7 days. Supabase says a few user requests a day is usually enough to stay active, but that isn't a guarantee. Projects on paid plans are never paused for inactivity.
Step 2: resume the project (paused less than a year ago)
- Open the Supabase Dashboard and sign in with the account that owns the project.
- Select the organization, then the paused project. Since July 2026 the paused screen shows the date until which you can restore it.
- Click Resume project and confirm. Give it a few minutes.
- Reload your live app. Sign in once and open one page that reads data.
Supabase says the project returns to its previous state, including data and configuration. Don't ask your AI builder to "reconnect Supabase" or create a new project: that gives you an empty database and new keys, and the AI will then try to rebuild tables that already exist.
Paused more than a year ago?
After one year the one-click restore is gone, but you can still recover the data while the project exists. Do this first, because once a project is deleted its data and backups are gone for good.
- In the paused project's Project Overview, download the database backup (the
.backupfile) and the files in every Storage bucket. Since July 2026 you can also download them while the project is still restorable. - Create a new Supabase project and turn on the same extensions, webhooks and Realtime settings.
- Restore the database with
psqland copy the Storage files back with the Supabase CLI, following Supabase's guide for projects paused more than a year. - Put the new project URL and keys in your app's environment variables on the host and in your builder. Then add the app's address to Authentication → URL Configuration again so sign-in works.
If this is more than you want to do yourself, this is exactly the kind of job to hand to someone with your backup file, not to a new AI chat.
Step 3: what changed while you were away
A paused database is often only the first problem. These dated changes from the last few weeks can break an app that nobody touched:
| Date | Change | Check |
|---|---|---|
| October 30, 2026 | New Supabase tables need explicit grants, or they fail with 42501 | 42501 guide |
| November 1, 2026 | Vercel builds pinned to Node.js 20 fail (the last opt-out ended) | Node.js 20 guide |
| November 2, 2026 | Supabase CLI v3: a deploy job can pass without changing production | CLI v3 guide |
| November 19 and December 11, 2026 | Lovable retires AI models (Gemini 3.6 Flash, then the GPT-5 family) | free platform-change check |
| December 2026 | Zeabur pauses shared services December 1 and deletes data December 31; Val Town goes read-only December 10 | host shutdown guide |
| End of 2026 | Supabase legacy anon and service_role keys are being deprecated | keys guide |
Also send yourself a password reset from the live app. If it never arrives, run the free email check.
Step 4: keep it from pausing again
- Read the warning email. Make sure Supabase can reach you at an address you check. Opening the project in the dashboard after a warning counts as activity.
- Real use keeps it awake. A few real requests a day from people using the app is usually enough, but Supabase doesn't guarantee it on the Free Plan.
- If people rely on the app, Supabase's own advice is a paid plan: paid projects are never paused for inactivity.
- Once a month, open the live app, sign in and run the monthly checklist.
Ask your AI tool for a narrow change
After you resume the project, if something still fails, paste this into Lovable, Bolt, Cursor or Claude Code:
My app's Supabase project was paused and I resumed it. It already has all my tables, data and auth users. Do NOT create a new Supabase project, do NOT reconnect or change keys, do NOT recreate tables or run migrations. 1) Tell me which request fails now and its status code and error text. 2) If it is 42501, 401 or a missing env var, explain the cause in 2 sentences. 3) Propose the smallest fix and show me the diff before changing anything.
Never paste database passwords or secret keys into the chat.
FAQ
Will I lose my data when I resume a paused Supabase project?
No, as long as you resume within the restore window. Supabase says a resumed project returns to its previous state, including data and configuration. Since July 2026 the window is up to 1 year after the pause (it used to be 90 days).
Do I need new API keys or a new project?
Usually not. Resume the existing project and reload the app. Creating a new project, or letting your AI builder "reconnect Supabase", gives you an empty database and new keys. Only do that if the project was paused more than a year ago and you are restoring a downloaded backup.
My app uses Lovable Cloud. Does this apply?
Lovable Cloud is Lovable's built-in backend, so the database is not in your own Supabase account and you won't see it in your Supabase dashboard. Open the project in Lovable first. This guide is for apps connected to your own Supabase project.
How do I tell a paused project from a restricted one?
Look at the status code of a failed request to your supabase.co address. 540 means paused: resume it. 402 means Supabase restricted the organization, for example for going over the free quota or an overdue bill, and the response says why. Resuming won't help with 402.