Troubleshooting

Common errors

Short answers to the messages people hit most.

Updated 21 Sept 2026

In the builder

"This preview is not running. Start it from the builder." The preview URL was opened while the preview is stopped (idle stop after 30 minutes, or you stopped it). Click Run preview.

"Preview not found." The URL doesn't belong to a project on this account. Check you're signed in as the right user.

"The preview stopped responding. Try restarting it." The dev server inside the container died or hung. Stop → Run preview.

A file shows a diff instead of the editor. Review is on, and the file has a pending AI change. Accept or reject it first — see Editing files. People who don't write code apply changes automatically, so the editor opens directly.

Attachment refused. Over 4 images, over 5 MB, an unsupported type, or a model without image support. See Attachments.

Continue with Supabase did not finish. Start again from Settings → Database. Sign in and allow SpinBuild. You do not paste a connection string. See Supabase.

In your app

getaddrinfo / ECONNREFUSED on the database DATABASE_URL was edited by hand. Restart the preview; SpinBuild rewrites the managed values.

DATABASE_URL is missing, or the app's API returns 503 The project has no .env yet, or no DATABASE_URL in it. Choose Initialize database in the builder's file list or under Project settings → Database, then restart the preview. See Database.

relation "…" does not exist A table the code expects hasn't been created. Ask the model to add table creation for it, following lib/items.ts.

Environment variable is undefined Added to .env but the preview wasn't restarted; or the variable is used in browser code without the NEXT_PUBLIC_ prefix.

Hydration mismatch warnings Usually a date or random value rendered on the server and again on the client. Ask the model to move it into an effect or format it consistently.

Account

"Sign-in link expired" Codes are single-use and short-lived. Request a new one.

Google / GitHub sign-in returns an error The provider declined the authorisation, or you have an existing account with that email under a different method. Sign in with the original method, then link the provider from Settings.

Can't upgrade / checkout doesn't open An ad-blocker is likely blocking the payment overlay. Allow paddle.com for spinbuild.ai, or try another browser.

Something else

Contact support with the project name, what you did, and the exact message. Screenshots help.