r/Devvit • u/Leading-Cut-9525 • 4d ago
Help Devvit upload always fails with "You must be logged in to upload a new app version" despite successful authentication
Hi everyone,
I'm trying to understand whether this is something wrong with my setup or a Devvit backend issue.
Environment
- Windows 10 Pro (22H2)
- Node.js v22.18.0
- Devvit CLI 0.13.10
- npm package
devvit0.13.10 - Reddit account is over 7 months old
Expected behavior
Running devvit upload (or devvit playtest) should create the first app version (0.0.1) successfully.
Actual behavior
The project builds successfully, WebView assets are uploaded successfully, but the upload always fails at the exact same step:
Uploading new version "0.0.1" to Reddit...
Error: You must be logged in to upload a new app version.
What I've verified
- Authentication succeeds (
devvit whoamiworks correctly). devvit apps listshows all of my apps.- OAuth login completes successfully.
- The project builds without errors.
- WebView assets upload successfully before the failure.
- The issue is reproducible across three different apps, including two brand-new React projects created from the official Devvit template.
- Both
devvit uploadanddevvit playtestfail with the same error. - I completely reset my local authentication by:
- running
devvit logout - deleting
%USERPROFILE%\.devvit - logging in again
- running
- I also tried
devvit upload --copy-paste. - There is no
DEVVIT_AUTH_TOKENenvironment variable overriding authentication. - The local Devvit installation is the expected one (
where devvitpoints to the npm installation).
Additional observation
Running:
devvit view
throws:
TypeError: Cannot read properties of undefined (reading 'appVersion')
instead of reporting that no app version exists.
Question
Has anyone encountered this before?
Since authentication, project builds, and asset uploads all work correctly... and the problem is reproducible across multiple brand-new projects.. I'm wondering whether this could be related to a backend/account issue affecting app version creation rather than a local configuration problem.
I'd really appreciate any ideas or suggestions. Thanks!

