HSX_E_PROJECT_NATIVE_REQUIRED

Native HubSpot project is required.

What this error means

This project command needs a local hsproject.json project descriptor.

When this error stops a command, hs-x exits with code 1. With --json, the failure is reported as a structured error whose code field is HSX_E_PROJECT_NATIVE_REQUIRED — stable to match on in scripts and agents.

Likely causes

  • The command was run outside a native HubSpot project directory

How to fix it

  • Run it from the project root or pass the project root with --cwd

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.