HSX_E_API_SERVER
Upstream server error.
What this error means
5xx response from HubSpot or HS-X.
When this error stops a command, hs-x exits with code 51. With --json, the failure is reported as a structured error whose code field is HSX_E_API_SERVER — stable to match on in scripts and agents.
Likely causes
- Transient upstream incident
How to fix it
- Retry with backoff
- Check the upstream status page
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.
Keep going