HSX_E_CLOUDFLARE_TOKEN_PERMISSIONS
Cloudflare token is missing required permissions.
What this error means
The token verified but does not grant every permission group HS-X needs to deploy.
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_PERMISSIONS — stable to match on in scripts and agents.
Likely causes
- Token was created with a narrower permission template
- Required permission groups were removed from the token policy
How to fix it
- Regenerate the token at https://dash.cloudflare.com/profile/api-tokens with the HS-X template
- Add the missing permission groups to the token policy
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.