HSX_E_LOGS_UNAVAILABLE

Logs unavailable.

What this error means

The Workers Logs backend returned an error while fetching logs.

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

Likely causes

  • Observability / Workers Logs is not enabled for the deployed worker
  • A transient Cloudflare or control-plane error while querying logs

How to fix it

  • Confirm Observability (Workers Logs) is enabled for the worker
  • Retry hs-x logs — the backend may have been briefly unavailable

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.