HSX_E_CLOUDFLARE_ANALYTICS_PREFLIGHT_FAILED

Workers Analytics Engine preflight failed.

What this error means

HS-X could not determine whether Workers Analytics Engine is available for the selected Cloudflare account.

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

Likely causes

  • Cloudflare returned an unexpected Analytics Engine API response
  • A network or proxy failure interrupted the read-only preflight

How to fix it

  • Retry the deploy
  • Check Cloudflare's status page and the selected 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.