HSX_E_DIRECT_HUBSPOT_AUTH_REQUIRED

HubSpot account needs authentication.

What this error means

The selected developer account has no personal access key available for deployment.

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

Likely causes

  • The account was never authenticated or its local PAK is missing

How to fix it

  • Run hs account auth for the selected account, then retry

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.