Check which account you're authenticated as
setup & auth
// what it does
Prints the email you're logged in as and the account IDs available to you — the first thing to check when a deploy lands in the wrong place or you juggle multiple Cloudflare accounts. Pass `--account` to inspect membership and permissions for one specific account by name or id.
// shell
$ wrangler whoami$ wrangler whoami --account <account-name-or-id>// gotcha
If you belong to more than one account, whoami can look fine but deploys still error until wrangler knows which one to use — set `account_id` in your wrangler config or export CLOUDFLARE_ACCOUNT_ID.