Issue: Can’t publish latest changes to a new Retool app
Steps I've taken to troubleshoot: Had the AI review the updates 3 times now for correction, at this point it’s saying I need to get direct Retool support for the issue. I submitted a ticket yesterday but figured I’d post here in case this is actually a simple fix that I am missing.
Additional info: Cloud
I'm getting a publish error in a Retool R2 app: "Unapproved files are not visible in the Data tab." The specific paths are:
/backend/testing/addGasCylinder.ts
/backend/testing/addGasType.ts
/backend/testing/markCylinderEmpty.ts
/backend/testing/moveCylinder.ts
/backend/testing/updateCalGasDockStock.ts
/backend/testing/updateGasCylinder.ts
/backend/testing/updateGasTypePartNumber.ts
/backend/testing/updateReserveMinimum.ts
/backend/calgas/updateGasCylinder.ts (ghost entry — file content is now just a comment)
Same problem here, the data tab is empty so i cannot approve the files.
claude answers with a supportchat
"Agent-built (R2) app. Publishing is blocked: 'You cannot publish functions that change external data without approving them first.' The Review Functions screen shows 'Unapproved files are not visible in the Data tab' and lists all backend function paths, but there is no approve button anywhere. The Data tab is empty ('This app does not contain any functions'), even though the app has ~30 backend functions under /backend. I'm an org admin. How do I approve these backend function files so I can publish?"