HSX_E_INPUT_MISSING_ACCOUNT_ID

Missing account id.

What this error means

A command that operates on an account couldn't determine which one.

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

Likely causes

  • No --account-id flag
  • No HSX_ACCOUNT_ID env
  • No default account in $XDG_CONFIG_HOME/hs-x/config.json

How to fix it

  • Run hs-x accounts list to see options
  • Pass --account-id <id> or set HSX_ACCOUNT_ID
  • Run hs-x accounts switch <id> to set a default

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.