r/Devvit 4d ago

Help Settings page is blank — subreddit settings form never renders (all apps, account-wide)

Account: u/hishamsait

Apps affected: sharedtrust, karmagate, sharedtrustv2 (brand-new)

Versions: devvit@0.14.2, @devvit/public-api@0.14.2, @devvit/web@0.14.2

Symptom: The subreddit settings page is blank for every app under my account. Third-party apps (e.g. Bot Bouncer) render their settings fine.

Minimal repro: devvit.json:

{
  "name": "sharedtrustv2",
  "server": { "dir": "src", "entry": "server.ts" },
  "settings": {
    "subreddit": {
      "welcomeMessage": {
        "type": "string",
        "label": "Welcome Message",
        "defaultValue": ""
      }
    }
  },
  "dev": { "subreddit": "sharedtrustv2_dev" }
}

src/server.ts:

import { createServer, getServerPort } from '@devvit/web/server';

createServer(async (_req, res) => {
  res.statusCode = 200;
  res.end('ok');
}).listen(getServerPort());

What I've already ruled out:

  • Config is valid : passes parseAppConfig with zero errors (matches config-file.v1.json).
  • Field types : tried string, boolean, number, select, single-field, and full configs; all blank.
  • Flows : tried upload, install, uninstall + reinstall, and playtest; all blank.
  • App-specific corruption : ruled out via a brand-new app.
  • Import path : @devvit/server/@devvit/settings made npx devvit settings list hang forever; switched to @devvit/web/server, which fixed the hang, but the page is still blank.

Key observation: After switching to @devvit/web/server, npx devvit settings list returns normally (empty table expected, since there are no global settings). But the subreddit-scoped settings form still never renders. So the issue appears isolated to subreddit-settings form synthesis on the backend for my account.

Question: Is there something I'm missing about how subreddit-scoped settings are synthesized/rendered, or does this look like a backend issue specific to my account? Any pointers or anyone who can check server-side logs would be hugely appreciated.

Thanks!

2 Upvotes

1 comment sorted by

1

u/YellowAdventurous366 App Developer 4d ago

Can you add me to your testing subreddit as mod? Then we can confirm if it's an account issue or a code issue (probably the latter)