---
title: "Troubleshooting the CLI | Hostemi"
description: "doctor, not signed in, an option it refuses, a change that waits, and network problems. Step-by-step help from the Hostemi docs for vacation rental hosts."
canonical: https://hostemi.com/docs/cli/troubleshooting
source: https://hostemi.com/docs/cli/troubleshooting.md
---

# Troubleshooting the CLI

doctor, not signed in, an option it refuses, a change that waits, and network problems.

#### On this page

1. [Start with doctor](#start-with-doctor)
2. [Exit 3: not signed in](#exit-3-not-signed-in)
3. [Exit 2: an option it does not know](#exit-2-an-option-it-does-not-know)
4. [Exit 4: it waits for the host](#exit-4-it-waits-for-the-host)
5. [Exit 1 with PLAN\_REQUIRED](#exit-1-with-plan-required)
6. [Cannot reach the API](#cannot-reach-the-api)
7. [A preview feature](#a-preview-feature)

## Start with doctor

```bash
hostemi doctor
```

It 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

Command

```bash
hostemi bookings list --json
```

Output (recorded, exit 3)

```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

Command

```bash
hostemi prices adjust x 2026-07-01:2026-07-31 +10% --bogus
```

Output (recorded, exit 2)

```text
Error: 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.

Documentation pages

Something missing from this page? Write to [hello@hostemi.com](mailto:hello@hostemi.com), or use the form on the [Help](https://hostemi.com/help) page.
