HSX_E_HUBSPOT_ACCOUNT_CONFIG_INVALID

Explicit HubSpot config is invalid.

What this error means

The file selected with `--config` has no usable accounts or default selection.

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

Likely causes

  • Malformed YAML, no valid account records, or an unknown default account

How to fix it

  • Repair the selected file and verify it with hs account list --config <path>

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.