npx devvit settings set failing with "ValidateAppForm Unimplemented". Anyone else?
Hey, running into a wall trying to store API credentials for my app and wanted to check if others have hit this.
Every time I run npx devvit settings set MY_KEY it fails with:
Error: "UpdateSettings" failed after 3 attempts.
First error: /devvit.actor.settings.v1alpha.AppSettings/ValidateAppForm
undefined: rpc error: code = Unimplemented desc = The server does not
implement the method
/devvit.actor.settings.v1alpha.AppSettings/ValidateAppForm
I've tried:
- Declaring the setting in
devvit.jsonundersettings.global - Declaring via
Devvit.addSettings([{ name: 'MY_KEY', type: 'string', scope: 'app', isSecret: true }])in code - Running
npx devvit uploadafter each change before attemptingsettings set - Multiple uploads, now on version 0.0.3
Same error every time. The app itself works fine, it's just the settings CLI command that's broken.
For context: I'm building a web-based Devvit game (using the u/devvit/web stack, Hono + tRPC) and trying to store Spotify API credentials securely.
Is this a known issue? Any workaround other than hardcoding or Redis-hacking the credentials in?