HSX_E_CLOUDFLARE_SCRIPT_NOT_FOUND
Worker script not found on Cloudflare.
What this error means
The Worker script named by the deploy record does not exist on this account.
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_SCRIPT_NOT_FOUND — stable to match on in scripts and agents.
Likely causes
- The Worker was deleted in the Cloudflare dashboard
- The deploy record points at a different Cloudflare account
How to fix it
- Run
hs-x deployto recreate the Worker - Check the connected Cloudflare 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.
Keep going