Troubleshooting the CLI
doctor, not signed in, an option it refuses, a change that waits, and network problems.
Start with doctor
hostemi doctorIt checks that the API answers, that the key is valid, the plan, the approval setting, the MCP server and which AI tools on this computer are connected, and says what to fix.
Exit 3: not signed in
hostemi bookings list --json{
"error": {
"code": "NOT_SIGNED_IN",
"message": "Not signed in.",
"fix": "Run: hostemi login (or set HOSTEMI_TOKEN)."
},
"exitCode": 3,
"details": null
}Run hostemi login, or set HOSTEMI_TOKEN. A key someone revoked, or whose owner left the workspace, gives the same exit.
Exit 2: an option it does not know
hostemi prices adjust x 2026-07-01:2026-07-31 +10% --bogusError: Unknown option --bogus. Its options: --price, --price-minor, --adjust-pct, --adjust, --floor, --ceiling, --min-nights, --max-nights, --arrivals, --departures, --closed, --open, --close-arrivals, --block-rooms, --scope, --weekdays, --rate-plans, --note.
Usage: hostemi pricing set <unit> <range> [options]Exit 4: it waits for the host
Not an error. Nothing changed; open the printed link while signed in to Hostemi, or add --wait. In "Ask before changes" every change from the CLI waits.
Exit 1 with PLAN_REQUIRED
The command line and the API are part of Pro and Complete. On a plan that ended, reading still works and changes are refused.
Cannot reach the API
UNREACHABLE names the address it tried. Check the network, a proxy, and --api or HOSTEMI_API_URL.
A preview feature
A command marked Preview in the reference answers 404 (exit 1) for a workspace without that feature.