I can not run this command:
npx wrangler secret put --env production TOKEN
X [ERROR] A request to the Cloudflare API (/accounts/xxxxxxxx/workers/scripts/worker-email-production/secrets) failed.
Authentication error [code: 10000]
Getting User settings...
👋 You are logged in with an OAuth Token, associated with the email xxxxxx@gmail.com!
┌───────────────────────────────────┬──────────────────────────────────┐
│ Account Name │ Account ID │
├───────────────────────────────────┼──────────────────────────────────┤
│ xxxxxx@gmail.com's Account │ 07f655250xxxxxx │
└───────────────────────────────────┴──────────────────────────────────┘
🔓 Token Permissions: If scopes are missing, you may need to logout and re-login.
Scope (Access)
I can not run this command:
npx wrangler secret put --env production TOKEN
X [ERROR] A request to the Cloudflare API (/accounts/xxxxxxxx/workers/scripts/worker-email-production/secrets) failed.
Authentication error [code: 10000]
Getting User settings... 👋 You are logged in with an OAuth Token, associated with the email xxxxxx@gmail.com! ┌───────────────────────────────────┬──────────────────────────────────┐ │ Account Name │ Account ID │ ├───────────────────────────────────┼──────────────────────────────────┤ │ xxxxxx@gmail.com's Account │ 07f655250xxxxxx │ └───────────────────────────────────┴──────────────────────────────────┘ 🔓 Token Permissions: If scopes are missing, you may need to logout and re-login. Scope (Access)