I renamed my Worker in Dash and wrangler.toml, but became unauthorized in wrangler and can't deploy

Hello, I deploy my worker via CLI. I renamed one of my workers in Cloudflare Dash. I updated the wrangler.toml. If I try to deploy via CLI with wrangler now, it fails with :
[ERROR] A request to the Cloudflare API (/accounts/cfXXXXXXXXXXXXXXXX/workers/scripts/share-worker) failed.

workers.api.error.unauthorized [code: 10023]

If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose

workers.api.error.unauthorized [code: 10023]
[ERROR] A request to the Cloudflare API (/accounts/cfXXXXXXXXXXXXXXXX/workers/scripts/share-worker) failed.

workers.api.error.unauthorized [code: 10023]

If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose

workers.api.error.unauthorized [code: 10023]
wrangler whoami still shows me. I did wrangler logout and logged in again. But it still fails.
2 Replies
Varna
VarnaOP7mo ago
https://github.com/cloudflare/workers-sdk/issues/2991 Removing logpush = true from wrangler.toml fixed it.
GitHub
🐛 BUG: workers.api.error.unauthorized [code: 10023] · Issue #2991 ·...
Which Cloudflare product(s) does this pertain to? Wrangler What version of Wrangler are you using? 2.14.0 What operating system are you using? Mac Describe the Bug I'm trying to publish a new w...
Varna
VarnaOP7mo ago
It seems that our Workers Paid was cut to Free because boss failed his card payment. This why logpush started failing.
Want results from more Discord servers?
Add your server