HSX_E_INPUT_MISSING_API_TOKEN
Missing Cloudflare API token.
What this error means
A command that talks to Cloudflare directly (e.g. `hs-x link`, `hs-x dev --invoke-remote`) needs a Cloudflare API token in its environment.
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_INPUT_MISSING_API_TOKEN — stable to match on in scripts and agents.
Likely causes
- No
CLOUDFLARE_API_TOKENenv - No
HSX_CLOUDFLARE_API_TOKENenv
How to fix it
- Set
CLOUDFLARE_API_TOKENin the environment the command runs in - Account connections are OAuth-only — run
hs-x connect cloudflarefrom a TTY instead
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.