The orders page shows a blank table. Check the logs and fix it.
Preview problems
The preview stays on “Loading your app...”
The preview stays on “Loading your app...”
- Click the reload button in the bar above the preview (tooltip Reload preview).
- Open the … menu and choose Restart server.
- If that doesn’t help, choose Restart sandbox, then Restart. This recreates the development environment from your saved code. Your code is safe.
- Refresh your browser tab.
“Couldn’t start the preview. Reload the page to try again.”
“Couldn’t start the preview. Reload the page to try again.”
“Sandbox could not be restarted”
“Sandbox could not be restarted”
“App error detected”
“App error detected”
“The preview crashed. Asking the builder to fix it…”
“The preview crashed. Asking the builder to fix it…”
- Duet Agents waits until the AI has finished responding and any build has finished, and until you’ve answered any question the AI asked.
- It sends each error only once, and makes at most three automatic fix requests until you send your next message.
- Clicking Stop turns automatic fixes off until you send your next message.
The preview says a module or package is missing
The preview says a module or package is missing
“Reconnecting to sandbox...”
“Reconnecting to sandbox...”
Select or Screenshot isn't available
Select or Screenshot isn't available
- “Select isn’t available for this app. Describe the change you want in the chat instead.” Some older apps can’t use Select. Describe the change in the chat, or use Screenshot.
- “Screenshot isn’t available in this preview yet. Reload the preview and try again.” Click the reload button above the preview, then try again.
- “Couldn’t capture the screenshot. Try again.”
A page is greyed out in the page selector
A page is greyed out in the page selector
/orders/[id], can’t be opened from the page selector. Open them by clicking through the app, for example from a row in the orders list.The preview is slow
The preview is slow
Add pagination to the customers table, 25 rows per page.
The dashboard is slow. Find what’s slowing it down and fix it.
Chat problems
“Out of credits”
“Out of credits”
- On the Free plan: “You’ve used this month’s free credits. Upgrade to keep building, or wait for your free credits to refill on date.” Click Upgrade.
- On a paid plan: “You’ve used all your credits. Upgrade your plan or buy more credits to keep building.” Click Buy credits or Upgrade plan.
“The conversation is too long for the model to process. Please start a new chat.”
“The conversation is too long for the model to process. Please start a new chat.”
“Looks like the model is currently overloaded...”
“Looks like the model is currently overloaded...”
“Looks like the model is having trouble reasoning. Please start a new chat.”
“Looks like the model is having trouble reasoning. Please start a new chat.”
“This thread is busy”
“This thread is busy”
“Message too large”
“Message too large”
“Models Gateway needs attention”
“Models Gateway needs attention”
The AI isn't doing what I asked
The AI isn't doing what I asked
- Be more specific. Describe the exact behavior, data or layout you expect, and what’s wrong now.
-
Name the page or file.
On the customers page (
src/app/customers/page.tsx), add a delete button to the last column. - Break it down. Ask for one change, check it, then ask for the next.
- Switch models. A more capable model can help with hard bugs. See AI models.
- Start a new conversation if the current one is long and has gone in circles.
- Restore a checkpoint from before things went wrong, and try a different prompt. See Version history.
Build and publish problems
“Build failed — asking the builder to fix it”
“Build failed — asking the builder to fix it”
Run a type check and the tests, and fix every error.You can also build the app yourself from the … menu with Build app. If it fails, you see “Failed to build app”.
A publish failed
A publish failed
The live app doesn't show my latest changes
The live app doesn't show my latest changes
Cmd+Shift+R on macOS, Ctrl+Shift+R on Windows).Data problems
Test data shows up in the live app
Test data shows up in the live app
“Your organization has used all of its file storage.”
“Your organization has used all of its file storage.”
The app broke after I restored a checkpoint
The app broke after I restored a checkpoint
Check the database schema against the code and fix any mismatches.
Access problems
I can't create an app
I can't create an app
I can't open the editor
I can't open the editor
- Access Denied: your role can’t edit apps.
- App Not Found: the app doesn’t exist, or you don’t have access to it.
- App Archived: restore it from the Archived filter on the Apps page.
- Wrong Organization: click Switch Organization.
I can't edit a file in the Code tab
I can't edit a file in the Code tab
Use the Logs tab
The Logs tab streams the preview’s logs. Lines start with where they come from:[Next.js] for server output, [Install dependencies] and [Install packages] for package installs, and [Browser Console] for the app’s browser console. The tab isn’t open by default. Add it from the + menu in the editor’s tab bar. If your connection drops, it reconnects on its own.
Look for lines that mention an error near the time the problem happened, and paste them into the chat. The AI can also read the logs itself, so asking it to “check the logs” often works just as well.
The Logs tab only covers the preview. For a failed publish, use See errors in the Publish menu.

