HSX_E_CLOUDFLARE_ACCOUNT_NOT_VISIBLE

Cloudflare account is not accessible.

What this error means

The OAuth token cannot access the explicitly selected Cloudflare account.

When this error stops a command, hs-x exits with code 10. With --json, the failure is reported as a structured error whose code field is HSX_E_CLOUDFLARE_ACCOUNT_NOT_VISIBLE — stable to match on in scripts and agents.

Likely causes

  • The account id is wrong
  • The authorizing user is not a member of that account

How to fix it

  • Choose an account visible to the authorizing Cloudflare user
  • Omit --cloudflare-account-id to use the first visible account

Still stuck? Re-run the command with --debug for the wire-level detail, or hs-x doctor to check accounts, link state, and connectivity in one pass.