“sandbox token required” blocks backend calls in app editor preview

My Retool editor preview shows “sandbox token required” for listClients, listTestAccounts and listCases. The dashboard cannot load any data.

The app connects to Baserow. These functions previously worked in the browser, and Retool AI reports that its backend tests still succeed.

Closing duplicate editor tabs, reopening the editor and refreshing the entire page have not resolved the issue in my browser.

How can I recover the preview session without losing unpublished work? I’m on a non-Enterprise plan.

I’ve attached a screenshot of the error.

Summary

In the new app builder's editor preview, backend functions (listClients, listTestAccounts, listCases) return a 'sandbox token required' error so no data loads, even though the published backend tests still succeed; closing duplicate tabs, reopening, and refreshing haven't helped, and recovery is needed without losing unpublished work.

AI Response

This pattern typically reflects a preview session/sandbox authentication mismatch rather than a problem with the backend functions themselves, which is why they still test fine. A common trigger is having more than one account signed in within the same browser, which causes the editor tab's preview requests to be rejected. To recover without losing unpublished work, close every open editor tab and then reopen the app while signed in as a single user; if you need to view the app as someone else, fully log out first instead of signing in via a second tab. If the preview sandbox remains stuck after that, it generally requires a Retool-side re-provisioning, and in reported cases unpublished draft work was preserved, so avoid any 'Reset branch' action.

Sources

:bookmark: Apps Builder Preview stuck — BackendAgent sandbox provisioning fails with HttpError
Solved new app builder report of a stuck/rejected preview sandbox where requests returned 'not found'; the accepted answer pinpoints two accounts signed into the same browser as the cause and gives the close-all-tabs / single-user reload fix that preserves unpublished work.
:bookmark: My original Retool React App Builder app is frozen at “Starting preview server”
Solved new app builder case of a preview sandbox failing to start while the published app kept working, resolved by a Retool-side fix with the unpublished draft left intact.

The Community Team is testing out a new automation. Let us know if it's helpful (or not) by leaving a :heart:, :+1:, or :-1:. Or by marking this post as the "Solution"! Let us know if you have any feedback here. :rocket:

@Thger Sorry you’re having issues there. I think that you might be using an older unsupported browser. Are you using an older Safari version by chance (version 18 or less)? I would recommend updating your Safari browser to the latest version or using a different browser than Safari.

In regards to your work, you don’t have to worry, your work on your branch is continuously saved. So opening your app should retain any work you’ve done.