HSX_E_CLOUDFLARE_VERSION_NOT_FOUND

Worker version not found or not deployable.

What this error means

Cloudflare no longer retains (or cannot deploy) the Worker version the deploy record names.

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

Likely causes

  • The version was uploaded before HS-X recorded version ids
  • The version is incompatible with current account settings

How to fix it

  • Pick a newer deploy to roll back to
  • Roll forward with hs-x deploy 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.