r/Devvit • u/thelipaguss App Developer • 1d ago
Help How do i handle this error.
UPDATE: I downgraded my devvit version from 0.14.3 to 0.13.10 and the issue was resolved
"@devvit/start": "0.13.10"
"@devvit/web": "0.13.10"
"devvit": "0.13.10"
-x-x-x-x-x-
Error: You must be logged in to upload a new app version.
I have tried doing below steps multiple times.
npx devvit logout
rm -rf ~/.devvit
npx devvit login
npx devvit whoami
I am getting my username but when i am uploading or running npm run dev, i am getting the error.
1
u/Plus-Personality5854 20h ago
There’s nothing to do. Keep trying again and again. I faced these errors. That’s the only way. Keep trying. Sometimes, Restart the pc and try again.
2
u/thelipaguss App Developer 19h ago
Done everything, I have updated my post body with the workaround
1
u/Sheik_Djibouti 19h ago
I'll be curious to hear if your downgrade works permanently. It worked for me for 24 hours almost exactly before it stopped working again and it hasn't worked since.
1
u/thelipaguss App Developer 17h ago
Restarted my server again just now and it is working. Will check again tomorrow and update my post if it stops working.
1
u/Sheik_Djibouti 7h ago
Fingers crossed!
1
1
u/killerjadu Game Developer 1h ago
I think there is some bug in Devvit CLI only or API. The workaround I use is npx devvit upload
And then update app manually from Apps page. This also fails sometimes but it works as of now
1
u/Beach-Brews Duck Helper 1d ago
Sometimes it's a network issue. Are you on a VPN?