HSX_E_LINK_NOT_MEMBER

Not a member of the target account.

What this error means

The account passed to `hs-x link` (flag or HSX_ACCOUNT_ID env) is not one your session belongs to.

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_LINK_NOT_MEMBER — stable to match on in scripts and agents.

Likely causes

  • Stale HSX_ACCOUNT_ID in the environment or a .env file
  • Token minted under a different HS-X account

How to fix it

  • Run hs-x link with no account to use the dashboard claim flow
  • Unset HSX_ACCOUNT_ID, or pass --account-id with an account you belong to

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.