Critical: Public App Link failing with 401 and "appTemplate is undefined" (UUID:[our app uuid])

Our public app link has suddenly stopped working, despite no recent changes to the app or our organization settings. Users are seeing a blank screen, and the console reports that the app template cannot be loaded. Some people are able to access the page but it seems like it's a 50/50

App Details:

  • Public URL: https://umuzi.retool.com/p/learner-onboarding/dashboard
  • Environment: Production

Error Logs: The following errors are consistently appearing in the browser console:

  1. Unable to load page for UUID d6-etc. Status: 401, Message: undefined (via sdk-BHlp3hWk.js)
  2. Uncaught (in promise) TypeError: can't access property "appTemplate", d is undefined (via index-BAgC0hSb.js:80)

Troubleshooting Already Performed:

  • Verified that the "Public Link" toggle is still enabled in the app settings.
  • Attempted to toggle the Public Link OFF and back ON to refresh the token, but the error persists.
  • The app loads correctly within the internal Retool Editor, but fails exclusively on the public-facing URL.

Request: Could you please check if there is a metadata mismatch or a permissions sync issue on the retool-edge.com side for this specific App UUID? This is a production-blocking issue for our onboarding process.

Hi @Rutendo_Nyakutira ! Thanks for the detailed report! Have you enabled the Defer Module Evaluation feature by any chance?

I’ve been able to repro similar behaviour when [Perf] Module deferred evaluation is enabled in Settings > Beta and [Beta] Defer evaluation until visible is enabled in the Module inspector (attached).

If that’s the case, disabling [Beta] Defer evaluation until visible should resolve the behaviour.

If that’s not the case, please could you send me an JSON export of the app (you can send this to me in a private message) and I’ll take a look.

Hi @milly Thank you for your reply and looking into it. I can't see the Beta setting in interaction both in the module and the app it is being used. I will dm you shortly both of the JSON exports. Thanks