Platform
Bolt fixes
Choose a Bolt error, check its source, and follow the relevant walkthrough.
What Bolt does once you leave the preview
Bolt includes its own hosting and can publish a project to a bolt.host address without a separate hosting account. Bolt hosting documentation. Start by identifying where your project is published. Save the live address separately from the editor link, and use that address for every check below. If someone reports a failure, ask for the exact URL and action before changing the project.
Changes made after publishing are not automatically applied to the live site; Bolt's publishing guide instructs you to use Update in the Publish menu. Bolt publishing guide. Compare the preview and public page side by side. Choose one visible change, publish it intentionally, and confirm it at the public URL before investigating other differences. Avoid using an editor screenshot as your only record of what visitors should see.
Bolt also documents a Netlify integration as an alternative publishing destination. Bolt's Netlify guide. For that setup, record which Netlify project receives the deployment and open its resulting URL. Check the chosen host's logs when publication fails. If the Bolt preview works but the Netlify site does not, open the same route on both URLs and read that deploy's log in Netlify before you change any code. One cause to rule out early is an environment variable that exists in Bolt but not in the Netlify project: see Environment variables are undefined in production.
Environment variables and secrets
Bolt's database settings include a Secrets area for credentials used by server functions to communicate with external services. Bolt secrets settings. Inventory the configuration names your app expects, then identify whether each is read by browser code, a build command or a server function. Keep credential values out of prompts and screenshots. When using a separate host, inspect that host's configuration directly instead of assuming it matches the Bolt project. Test a harmless request through the published app after updating configuration.
Before you publish from Bolt
- Confirm the destination. Write down the selected hosting provider, intended public URL and project name. Open the current public page in a separate tab. Keep the previous working version or backup reference in your release notes before making changes.
- Test one complete visitor journey. Begin at the public entry page, follow the main action, and check the resulting screen. For an account-based app, repeat with a dedicated test account. Use test payment settings for a checkout check and avoid making a real charge just to verify a button.
- Review configuration by purpose. List required variable names without their values. Identify the service each belongs to and the place that consumes it. Review server secrets separately from public configuration, and check the selected production settings before publishing your changes.
- Exercise direct links. Open an internal page by pasting its address into a fresh tab, then refresh it. Try the primary navigation and a URL copied from a notification or email. Record any route that behaves differently from navigation inside the app.
- Check the published appearance. Use a narrow viewport and a wider desktop window. Read the heading and primary action, scroll to the bottom, and inspect text that wraps. Confirm that links and controls remain usable without sideways scrolling or relying on a hover effect.
- Publish, then repeat the checks. Use the intended publishing destination and open the resulting public URL. Repeat the same journey and direct-link checks against that version. Keep a brief record of the result and stop making unrelated edits while you investigate a regression.
If the preview works but the public site fails
Reduce the report to a comparison you can repeat: same route, same test account, same input, two URLs. Capture the public error text and the time of the request. For a blank page, inspect the browser console and network panel without sharing credentials. For a failed publication, retain the deployment error and the build command you used. Ask Bolt for a focused repair tied to that evidence, then review the proposed file changes before republishing. If the problem appears only on a custom domain, compare that address with the host-provided URL and use the domain walkthrough below.
Do not treat a passing preview as the final launch check. Make your acceptance test the actual action a visitor must complete on the published site. If you cannot explain which change fixed the failure, preserve the working version and write down the remaining uncertainty before your next release.
Build a small publish record before asking Bolt to repair it
Write down the project name, publishing destination and live URL in a release note. Add the exact visitor action that should work: for example, opening a saved item after signing in. Use that action as your test throughout the investigation. Keep screenshots of the visible result if useful, but redact names, email addresses and any private content before sending them to an assistant. Record which checks you actually performed, rather than marking the whole project as tested.
For a stale page, prove which version you opened
Choose a harmless visible edit, such as a corrected heading, and note the expected text. Check it in the preview, publish the change intentionally, then open the live address copied from the publishing result. If the heading is still old, verify the project and destination before editing application code. Repeat the check at the host-provided address and at your custom domain if you have one. Keep both URLs in the report. Avoid combining this investigation with a redesign; retain a single visible marker until you can explain the difference.
For missing data, compare one operation
Use a dedicated test account and create one harmless record with an obvious test label. Note whether creation, reading or editing fails, and record the corresponding browser request without its authentication headers. Repeat only the failing operation in the preview and published app. Inspect the configured service and project identifiers in each environment without copying credentials into chat. If you ask Bolt for help, specify which operation fails and include the redacted response. Ask for a focused explanation before accepting changes to permissions or authentication.
For a publishing failure, keep the error intact
Copy the exact error text into your notes and identify the publishing target. Check the relevant hosting walkthrough below rather than treating every failure as the same problem. If the error names a build output directory, inspect the project's build command and generated output. If it names a dependency, inspect the package and version named in that error. Ask Bolt to repair that specific failure, review the changed files, and rerun the publishing action. Keep the old error next to the new result so you can distinguish progress from a different failure.
Close the loop on the public address
After a repair, repeat your original visitor action from a fresh tab on the published URL. Revisit a direct internal link, check the main form's validation, and try the layout at a narrow width. For sign-in, test both a successful attempt and a deliberately incorrect password with your test account. For a data workflow, verify the saved result by reopening it. Write down any remaining failures explicitly and stop the release if its main action is still broken. Keep the previous working version reference until you have completed those checks.
Last edited
78 fixes: 20 in full, then 58 more by title.
Top Bolt fixes
- Supabase signup_disabled: new accounts are turned off
Match the response to this walkthrough, inspect the relevant configuration, and repeat the original failing action.
- Bolt custom domain will not connect
Keep a note of the failing input and expected result while working through this fix.
More Bolt fixes
Older or narrower fixes for Bolt. Titles only.
- Bolt publish failed or the live site will not open
- Bolt preview works, the Netlify site does not
- Supabase auth emails land in spam
- Vite env var is undefined because the name has no VITE_ prefix
- Firebase signInWithRedirect fails on the deployed domain
- Supabase refresh_token_already_used: Refresh token has been revoked and falls outside the refresh token reuse interval
- Vercel build error: No Output Directory found (missing public directory)
- Vibe-coded site not indexed by Google: how to fix it
- Supabase Security Advisor warnings explained
- Supabase Edge Function CORS error: Response to preflight request doesn't pass access control check
- Changed an environment variable on Vercel but the live site still uses the old value
- infinite recursion detected in policy for relation
- Supabase insert works, .select() returns 42501
- Supabase Storage upload fails: new row violates row-level security policy
- Supabase Storage images not loading
- OpenAI API 429: You exceeded your current quota / rate limit reached
- Anthropic or Gemini API 429 and overloaded errors
- Invalid JWT after switching to sb_publishable or sb_secret keys
- Build failed: npm ERR! ERESOLVE
- Supabase error: JWT expired
- Supabase data loads only after a refresh
- TypeError: Failed to fetch (only in production)
- Supabase error: Email address not authorized
- Stripe secret key (sk_live_, sk_test_, or rk_) is in the front-end code
- AWS access key (AKIA) is in the front-end code
- Next.js: a client hook was used in a Server Component
- Next.js: useSearchParams() is missing a Suspense boundary
- Next.js: params, searchParams, or cookies() must be awaited
- Vercel 413 FUNCTION_PAYLOAD_TOO_LARGE
- Firestore request failed because security rules denied it
- Firebase auth/unauthorized-domain after deploy
- Supabase PGRST116: .single() did not get exactly one row
- Stripe secret_key_required: a publishable key called a secret API
- Stripe customer portal session will not open
- Supabase otp_expired: OTP code for this sign-in has expired
- Supabase email_not_confirmed: Signing in is not allowed for this user as the email address is not confirmed
- Stripe api_key_expired: The API key provided has expired
- Next.js Security Update for Upstream Vulnerabilities
- My app won't come back after a restart: is it me or the platform?
- Next.js: a Client Component cannot be async
- Supabase PGRST205: the table in the request URI was not found
- Stripe parameter_unknown: the request has unexpected parameters
- OpenAI API 401: Incorrect API key provided
- Supabase Auth invalid_credentials
- Supabase: Database error saving new user
- Vercel: Lost Git repository access, pushes no longer deploy
- Content Security Policy (CSP) header not set, or missing CSP directives
- X-Frame-Options header not set
- X-Content-Type-Options header missing
- CORS: Content-Type application/json is not safelisted and triggers a preflight
- Edge Function returned a non-2xx status code
- User already registered
- Supabase returns an empty array [] but the table has data
- How to check that Row Level Security is on for every Supabase table
- Blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present
- Module not found: Can't resolve (build works locally, fails on Vercel)
- Error 400: redirect_uri_mismatch (Sign in with Google)
- Stripe error: No such price / No such customer (resource_missing)