HSX_E_CLOUDFLARE_TOKEN_INVALID

Cloudflare token rejected.

What this error means

Cloudflare's `/user/tokens/verify` returned 401/403.

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_TOKEN_INVALID — stable to match on in scripts and agents.

Likely causes

  • Token is wrong
  • Token has expired
  • Token was revoked

How to fix it

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.