## The problem
Issue cloudflare/workers-sdk#10340 (closed, 26 comments): `PS F:\programming\php\github\vmscdn> wrangler d1 execute vmscdn --remote=true --command='SELECT * FROM Customers' ⛅️ wrangler 4.29.0 ─────────────────── 🌀 Executing on remote database vmscdn (.............................................................): 🌀 To execute on your local development database, remove the --remote flag from your wrangler command. X [ERROR] A request to the Cloudflare API (/accounts/................................................./d1/database/62d73d44-23e2.................................../query) failed. Authentication error [code: 10000] Getting User...
## The fix
'Authentication error [code: 10000]' when running wrangler d1 execute --remote was a Cloudflare-side issue, not a problem with your credentials or database config. The fix was rolled out server-side; update wrangler to the latest version and retry the command. If the error persists after upgrading, collect your account id and report it, since the maintainer confirmed the error should no longer occur.
## Notes
Thread: https://github.com/cloudflare/workers-sdk/issues/10340. Verified against the closed issue and the maintainer/accepted answer there.