HSX_E_HUBSPOT_PAK_INVALID
HubSpot PAK rejected.
What this error means
HubSpot's PAK exchange endpoint returned 401/403.
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_HUBSPOT_PAK_INVALID — stable to match on in scripts and agents.
Likely causes
- PAK is wrong
- PAK has expired
- PAK was revoked
How to fix it
- Generate a new PAK at https://app.hubspot.com/l/personal-access-key
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.