Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

wrangler whoami Error #1914

Closed
leyenda opened this issue May 9, 2021 · 4 comments · Fixed by #1920
Closed

wrangler whoami Error #1914

leyenda opened this issue May 9, 2021 · 4 comments · Fixed by #1920
Labels
bug Something isn't working regression Something is broken, but works in previous releases

Comments

@leyenda
Copy link

leyenda commented May 9, 2021

🐛 Bug report

Describe the bug

wrangler command whomi is responding this:

Error: ⚠️  Error: error decoding response body: missing field `betas` at line 1 column 490

Reproduce the bug

A list of steps to reproduce the bug.

  1. install wrangler globally version 1.16.1
  2. Run wrangler whoami
  3. See error

Expected behavior

Expected info about account using wrangler

Environment and versions

Fill out the following information about your environment.

  • operating system: Ubuntu 18.04 LTS
  • output of wrangler -V: wrangler 1.16.1
  • output of node -v: v14.15.5
  • content of wrangler.toml: N/A
@leyenda leyenda added the bug Something isn't working label May 9, 2021
@eshanj19
Copy link

Same error for me as well. I also faced this issue. So I have logged in to wrangler via wrangler config and provided the API Token.

wrangler whoami
Error:  Error: error decoding response body: missing field `betas` at line 1 column 1978
  • operating system: Ubuntu 20.04 LTS
  • output of wrangler -V: wrangler 1.16.1
  • output of node -v: v15.8.0
  • content of wrangler.toml: N/A

@Electroid
Copy link
Contributor

Looks like this might be related to the update of cloudflare-rs. https://github.com/cloudflare/cloudflare-rs/blob/e7a886e680fb63e00331335c0b9520164132d61f/cloudflare/src/endpoints/user.rs#L22

@nilslice
Copy link
Contributor

this should be fixed once cloudflare/cloudflare-rs#144 is merged, and we update the dep within wrangler - it will be included in an upcoming release this week. thanks for reporting!

@leyenda
Copy link
Author

leyenda commented May 10, 2021

Thank you so much!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working regression Something is broken, but works in previous releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants