HSX_E_INPUT_MISSING_PAK

Missing HubSpot PAK.

What this error means

`hs-x connect` needs a HubSpot personal access key.

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

Likely causes

  • No --pak flag
  • No HSX_HUBSPOT_PAK env
  • No PAK in HubSpot CLI config to auto-discover

How to fix it

  • Run hs accounts auth to authenticate via the HubSpot CLI
  • Or pass --pak <token>
  • Or run hs-x interactively to be prompted

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.