wrangler local mode? Cannot read properties of undefined (reading 'fetch')
✘ [ERROR] A request to the Cloudflare API (/accounts/719e33....9acb3c939/d1/database) failed.
Authentication error [code: 10000]
Getting User settings...
👋 You are logged in with an OAuth Token, associated with the email
...CLOUDFLARE_API_TOKEN=xxxx bunx wrangler d1 create production
✘ [ERROR] A request to the Cloudflare API (/accounts/719e33xxxxc939/d1/database) failed.
Authentication error [code: 10000]
Getting User settings...
👋 You are logged in with an API Token, associated with the email _!
┌─────────────────────────────┬──────────────────────────────────┐
│ Account Name │ Account ID │
├─────────────────────────────┼──────────────────────────────────┤
│ _'s Account │ f707xxxxb32 │
└─────────────────────────────┴──────────────────────────────────┘
🔓 To see token permissions visit https://dash.cloudflare.com/profile/api-tokens Traffic is indeed routing via Singapore on that first MTR. This is part of some temporary restrictions on our backbone that include cable cuts and that we're working with the provider to get a fix. This might be present for other routes that we transport over the backbone and it will add a few additional ms of latency.

Cannot read properties of undefined (reading 'fetch')
✘ [ERROR] A request to the Cloudflare API (/accounts/719e33....9acb3c939/d1/database) failed.
Authentication error [code: 10000]
Getting User settings...
👋 You are logged in with an OAuth Token, associated with the email
...CLOUDFLARE_API_TOKEN=xxxx bunx wrangler d1 create production
✘ [ERROR] A request to the Cloudflare API (/accounts/719e33xxxxc939/d1/database) failed.
Authentication error [code: 10000]
Getting User settings...
👋 You are logged in with an API Token, associated with the email _!
┌─────────────────────────────┬──────────────────────────────────┐
│ Account Name │ Account ID │
├─────────────────────────────┼──────────────────────────────────┤
│ _'s Account │ f707xxxxb32 │
└─────────────────────────────┴──────────────────────────────────┘
🔓 To see token permissions visit https://dash.cloudflare.com/profile/api-tokens