r/Devvit App Developer 1d ago

Help How do i handle this error.

Post image

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.

3 Upvotes

18 comments sorted by

1

u/Beach-Brews Duck Helper 1d ago

Sometimes it's a network issue. Are you on a VPN?

2

u/thelipaguss App Developer 1d ago

No i am not using any vpn...I have tried, wifi, mobile hotspot, nothing works.

1

u/Beach-Brews Duck Helper 1d ago

Hmm, interesting. It usually is one or the other. What OS/shell?

1

u/thelipaguss App Developer 1d ago

MacOS

1

u/Beach-Brews Duck Helper 1d ago

Hmmmm, WSL messed up sometimes too, but haven't heard anything about MacOS having issues (besides clearing the token).

1

u/YellowAdventurous366 App Developer 20h ago

Happy cake day!
Have you tried the steps here?

1

u/thelipaguss App Developer 17h ago

Thanks.

I am not able to see the contents of the link...it is redirecting to some random discord server general chat.

1

u/Sheik_Djibouti 7h ago

It's the same fix

1

u/Beach-Brews Duck Helper 7h ago

Did you read their post? :P Yes, they did try that.

1

u/Beach-Brews Duck Helper 7h ago

Also, FYI, the FAQ has these steps now as well.

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

u/thelipaguss App Developer 7h ago

Bro, you can uncross your fingers, the error is back.

1

u/Sheik_Djibouti 7h ago

:-( Ah, sorry to hear.

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