“Application error” is one of the least helpful messages you can get, because it’s a cover page, not a diagnosis. In Bolt.new projects it can turn up in three quite different places, and the fix depends on which one you’re looking at. This guide starts by working out which “application error” you have, then covers the other common reasons a Bolt app isn’t working: the in-browser preview, publishing, Netlify, Supabase sign-in, running out of tokens mid-fix, and getting your code out of Bolt when you need outside help.
First: which “Application Error” are you seeing?
1. Bolt.new itself shows “Application Error”
You open bolt.new, or try to sign in, and get a bare “Application Error” page before you even reach your project. That’s an error in Bolt’s own web app, not in your code. Bolt’s troubleshooting guide doesn’t document this exact message, so treat it as a generic failure and run through Bolt’s standard first checks:
- Check the Bolt status page for an active incident. If there is one, wait for it to clear and try again.
- Hard refresh:
Cmd + Shift + Ron Mac,Ctrl + Shift + Ron Windows. - Temporarily disable browser extensions, especially ad blockers. Turn off any VPN. Bolt’s docs also mention antivirus software blocking Bolt assets, particularly if you see 403 or 404 errors.
- Use a supported browser. Bolt works in Chrome and other Chromium-based browsers, and in Safari with a few differences.
- If it continues and Bolt’s status page shows everything working, contact Bolt support.
Your projects aren’t lost. Bolt’s FAQ says closing a tab doesn’t affect your work. If projects seem missing after signing back in, Bolt says you’re most likely in a different workspace or signed in with a different account (for example, Google the first time and email the second).
2. Your published app shows “Application error: a client-side exception has occurred”
That exact sentence, ending “(see the browser console for more information)”, is the Next.js production fallback page. Next.js’s docs explain it: “a client-side error occurred that was not caught by an error boundary. Additional information should be visible in the console tab of your browser.” You’ll only see it if your project uses Next.js. Many Bolt projects are Vite + React instead, and they tend to show a blank white page for the same kind of crash.
What to do:
- Open the broken page, open DevTools (F12) → Console, and reload.
- Read the first red error. The later ones are usually knock-on effects.
- Paste that exact error into Bolt. Don’t paste “application error”. The generic message gives the AI nothing to work with, so it will guess.
Common first errors: Cannot read properties of undefined (data that never arrived, often because an API call or database connection failed in production), or a missing environment variable.
3. The preview shows an error or stays blank
That’s the WebContainer, Bolt’s in-browser development environment. It’s covered in the next section.
WebContainer preview vs. your published site
Bolt runs your project inside WebContainers, StackBlitz’s technology for running a full development environment in your browser. That’s why there’s nothing to install. It also means:
- The preview runs on your computer. Bolt’s docs say the WebContainer “relies on your local device’s resources”, so a low-memory laptop or 40 open tabs can crash it.
- The published site is a separate build. When you publish, Bolt builds your code into finished files and serves them from its hosting (or Netlify). Something can work in the preview and fail in the build, and the reverse happens too.
Blank, white or gray preview
Bolt’s preview troubleshooting page gives this sequence:
- Hard refresh (
Cmd/Ctrl + Shift + R), then try opening the project in a new tab. - Prompt once:
The preview is not showing, fix this.Bolt notes that if this prompt can fix the issue, it should work on the first try, and “retrying the same prompt is unlikely to help.” - Open the browser console (
Cmd + Option + Jon Mac,Ctrl + Shift + Ion Windows), reproduce the white screen, and paste the errors into Bolt. If they mention a Supabase URL, Bolt says your project may be expecting a database connection that isn’t set up yet. - Switch to Plan mode and ask Bolt to review the code for runtime errors, missing dependencies or configuration issues before changing anything.
- In Code view → Terminal, run
npm run build. Bolt points out that a build “surfaces compilation errors that may not appear during normal development”.
Preview stuck on “Your preview will appear here”
This means the project never started. Bolt says that’s usually “a port conflict or an error that stops the preview from running”. Switch to Code view, look in the Terminal tab for red text, copy the full output, and paste it into the chat. The exact terminal error works far better than “the preview isn’t working”.
Out of memory or WebContainer startup errors
- Out of memory (OOM): close other tabs and apps, keep only one Bolt or StackBlitz project open, refresh, and restart your device if needed.
- WebContainer startup error: use Chrome or another Chromium-based browser and clear your browser cache.
Publishing: Bolt hosting, Bolt Cloud and Netlify
What Bolt offers today
- Bolt hosting (part of Bolt Cloud) is the default. Every user, free or paid, can publish to a free
.bolt.hostaddress. Custom domains are only available for Pro users. Bolt Cloud also includes a built-in database, sign-in, file storage and server functions. - Netlify is optional. You can connect a Netlify account and choose Netlify as the hosting provider for an unpublished project. Bolt’s Netlify page is clear about the limits: Netlify “can’t host a database or a traditional backend”. If your app needs a database or backend, Bolt recommends staying on Bolt hosting.
Use the Publish or Update button to publish. Bolt says these don’t use tokens, but asking Bolt to publish in chat does.
Errors you might see when publishing
See Bolt’s publishing issues page for the full steps for each of these.
Project is too large to deploy. The maximum allowed size is 100MB. This is usually caused by images or videos stored inside the project. Download the project to check its size, remove unused media, and move the rest to external storage (Supabase Storage, Cloudflare R2 and so on). Then prompt Bolt to use the external URLs.
Could not find a build output directory to publish. The build didn’t produce its output folder (often dist or build) where Bolt expected it. Bolt says this doesn’t mean your code is lost. Paste the error into the chat and ask Bolt to check how the project builds and fix it, then publish again.
ERR_SSL_PROTOCOL_ERROR / “This site can’t provide a secure connection” on your .bolt.host site. Bolt says this is usually a network or provider security filter blocking uncommon domains, not a failed publish. Test on mobile data with your VPN off. If it loads there, allow .bolt.host on your original network.
Your live site went offline. Each plan includes a set amount of hosting usage. If you hit the limit, Bolt says the site “stops displaying publicly” until usage resets at your next billing cycle. Paid plans can raise the limit.
Netlify deploy failed
- Bolt couldn’t publish to Netlify: Bolt’s fallback is to run the build yourself (
npm run build), download the project, and use Netlify’s manual drag-and-drop deploy. - Netlify disconnected after duplicating a project: forks and duplicates need reconnecting to Netlify, which creates a new Netlify site. Repoint any custom domain to it.
- The app needs a backend: if your app has a database, sign-in or server functions, Netlify alone won’t run them. Switch the project to Bolt hosting.
Supabase and sign-in problems
New Bolt projects use a Bolt database by default. On Pro and Teams plans you can start with Supabase, connect an existing Supabase project, or claim your Bolt database into your own Supabase account. Bolt’s Supabase guide advises choosing Supabase at the start if you know you want it, because switching later takes extra steps.
Login works in the preview but not on the live site, or confirmation and reset emails send people to the wrong place. Check the auth redirect settings. In Bolt’s authentication settings:
- Site URL is the main URL of your app, used whenever no redirect address is provided.
- URI allow list holds the other valid redirect URLs (wildcards allowed). Bolt notes that Supabase only redirects to URLs on this list. Otherwise it “falls back to the Site URL”.
Add your live .bolt.host address and any custom domain. If you use your own Supabase project, set the same thing in Supabase under Authentication → URL Configuration. Supabase recommends exact URLs in production.
“Database isn’t responding” or timing out: Bolt’s database troubleshooting suggests restarting the database from Advanced database settings, then contacting support if that doesn’t help.
Data is visible to the wrong people: that’s a security problem, not a bug. Bolt scans Cloud databases for issues such as a missing row-level security (RLS) policy. Our vibe-coded app security checklist explains how to test this yourself.
One caution: Bolt’s version history doesn’t currently restore Supabase databases. Rolling back code won’t roll back data there.
Ran out of tokens mid-fix
Tokens measure the work Bolt’s agent does. Running dry halfway through a fix is a common way to end up with a half-broken app. According to Bolt’s tokens page, free plans have a monthly allowance plus a daily cap of 300K tokens. When you hit the daily cap, you can still edit code directly in Code view without using tokens, or wait for the reset.
Bolt’s own token-saving advice, which also helps you get out of fix loops:
- Don’t keep clicking “Attempt fix”. Each attempt uses tokens. If automatic fixes don’t work, Bolt says to research the error and step in manually, or switch to Plan mode to agree on an approach first.
- Roll back with Version history, not prompts. Restoring an earlier version doesn’t use tokens. Prompting Bolt to “undo that” does.
- Clear context. Type
/clearand click Clear context, then ask Bolt to readREADME.mdbefore your next instruction. Bolt also suggests this when it’s stuck or unresponsive. - Ask for logging, not another fix. When you’re stuck in an error loop, Bolt recommends prompting it to add detailed error handling and logging around the failing area, so the next attempt is based on evidence.
- Build in small steps. Add one feature at a time and test it before moving on.
- Use buttons where they exist, such as Publish, instead of asking in chat.
Getting your code out of Bolt
When you want a second opinion or a developer to look at the app, they’ll need the code. Bolt gives you two official ways:
- Download: click the project title, then Download, for a zip of the project. With Node.js installed, run
npm install && npm run devin the unzipped folder to start it locally. - GitHub: connect a GitHub repository to back up the project with full history and keep commits synced automatically. The repo starts as private on
main. This is the easiest way to give an engineer access without sending zip files around.
Don’t send secrets along with the code. If an API key was ever pasted into the code or chat, rotate it at the provider.
When to get help
Bolt’s tools fix a lot of these issues, especially when you give the AI the exact error instead of “it’s broken”. It’s worth bringing in a human when:
- You’ve rolled back, cleared context and planned first, and the same error keeps coming back.
- You’re spending tokens on the same bug across several sessions.
- The app won’t deploy and the publish errors don’t match anything above.
- Sign-in, payments or data access behave differently in production than in the preview.
- You’re not sure your users’ data is safe.
A senior engineer can read the code in GitHub, trace the real error, fix the root cause, and explain it so the AI doesn’t re-break it on the next prompt. If you’re at that point, describe what’s happening on our Bolt page.
Comments