workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

✘ [ERROR] A request to the Cloudflare API (/accounts/95b82fcb68e8f0864692afcf13ac17f0/d1/database) failed. Authentication error [code: 10000]

Open fudedevelopments opened this issue 6 months ago • 5 comments

Which Cloudflare product(s) does this pertain to?

Wrangler

What versions & operating system are you using?

Wrangler 4.6

Please provide a link to a minimal reproduction

No response

Describe the Bug

✘ [ERROR] A request to the Cloudflare API (/accounts/95b82fcb68e8f0864692afcf13ac17f0/d1/database) failed.

Authentication error [code: 10000]

i got these error when i try to create d1 database but other commands works fine

"wrangler deploy" this works fine

Please provide any relevant error logs

PS D:\Fude\pink food delivery\pink-food-delivery> npx wrangler d1 create pink-database

⛅️ wrangler 4.16.0

✘ [ERROR] A request to the Cloudflare API (/accounts/95b82fcb68e8f0864692afcf13ac17f0/d1/database) failed.

Authentication error [code: 10000]

Getting User settings... 👋 You are logged in with an OAuth Token, associated with the email [email protected]. ┌──────────────────────────────────────┬──────────────────────────────────┐ │ Account Name │ Account ID │ ├──────────────────────────────────────┼──────────────────────────────────┤ │ [email protected]'s Account │ 95b82fcb68e8f0864692afcf13ac17f0 │ └──────────────────────────────────────┴──────────────────────────────────┘ 🔓 Token Permissions: If scopes are missing, you may need to logout and re-login. Scope (Access)

  • account (read)
  • user (read)
  • workers (write)
  • workers_kv (write)
  • workers_routes (write)
  • workers_scripts (write)
  • workers_tail (read)
  • d1 (write)
  • pages (write)
  • zone (read)
  • ssl_certs (write)
  • ai (write)
  • queues (write)
  • pipelines (write)
  • secrets_store (write)
  • offline_access 🎢 Membership roles in "[email protected]'s Account": Contact account super admin to change your permissions.
  • Super Administrator - All Privileges

fudedevelopments avatar May 21 '25 04:05 fudedevelopments