HSX_E_CLOUDFLARE_RESOURCE_VALIDATION_FAILED
Cloudflare resource validation failed.
What this error means
HS-X could not verify an exact D1 or KV resource id in the selected Cloudflare account, so it refused to create or adopt a replacement.
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_RESOURCE_VALIDATION_FAILED — stable to match on in scripts and agents.
Likely causes
- Cloudflare returned an unexpected resource lookup response
- Wrangler returned malformed resource-list output during the OAuth fallback
How to fix it
- Retry the deploy after confirming the connected Cloudflare account
- Re-run with
--debugto inspect the failed validation response
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