Wrangler whoami : error decoding response body: missing field `organizations` at line 1 column 487

hello all!
I guess this question is not rare but i cant find solution
cli tool wrangler stop to work for wrangler whoami says :

✨ 
➜ wrangler whoami
Error: ⚠️  Error: error decoding response body: missing field `organizations` at line 1 column 487

what can i do with this?

wrangler --version
wrangler 1.19.4

thanks to all!

Best thing to do is open an issue on the GitHub - GitHub - cloudflare/wrangler: 🤠 wrangle your Cloudflare Workers

Looks like the API was changed and Wrangler needs updating

Getting the same error on the same version. I’m an macOS Big Sur. First ran wrangler login, it opened a browser tab and authenticated successfully. Got this error trying to run wrangler whoami. Tried to then configure using an API token, which also succeeded. Got the error again trying to run wrangler whoami.

I opened an issue on Wrangler about it - Wrangler whoami - missing field organizations · Issue #2131 · cloudflare/wrangler · GitHub

Hey, this is now fixed :slight_smile:

2 Likes

:sunny: good news!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.