Harumi

Troubleshooting

Common harumi CLI errors and how to resolve them.

Quick checks

Confirm you're logged in

harumi whoami

If this errors, run harumi login (or harumi login --signup for a brand-new email).

Confirm the directory is bound

run, runs, outputs, repo, datasources, schedules, and secrets need a project. Either run from a directory containing .harumi/config.json (written by harumi init) or pass --project <PROJECT_ID>.

Common errors

SymptomLikely causeFix
Signups not allowed for otp on loginFirst login for this emailRetry with harumi login --signup
Provide --project or run from a directory with a .harumi bindingNo project resolvedcd into a bound directory or pass --project <id>
No Harumi project found. Run harumi init ... on runDirectory isn't boundharumi init --project <PROJECT_ID> first
Not a Harumi repo / git remote errorsThe harumi remote isn't configuredRe-run harumi init; ensure you're inside a git init-ialized directory
No Gitea token found on run/initGit token wasn't provisionedRe-run harumi login
<path> is not valid UTF-8 text on repo catThe file is binaryRe-run with --output <local_path> to save it
Run ended with status: failed on run --watchYour code raised or exited non-zeroharumi runs get <RUN_ID> for the captured stdout/stderr/error
You belong to multiple organizationsOrg not setharumi config set-org <ORG_ID> or pass --org per command
A new project is missing from projects list, or landed in the wrong workspaceAn older CLI ignored the configured organization when creating projects, so they went to your personal workspaceUpgrade the CLI (pipx upgrade harumi), or pass --customer-id <ORG_ID> explicitly. Already-created projects don't move on their own — change their workspace in the web app
Not a directory: <path> on importPointed import at a .zip instead of a folderUnzip the export first, then run harumi import from inside it
zsh: command not found: pipHomebrew's Python only ships pip3, not pipUse pipx install harumi (recommended), or pip3 install harumi / python3 -m pip install harumi
error: externally-managed-environment on pip installPEP 668 blocks pip outside a virtualenvUse pipx install harumi, or add --user, or install into a venv

Resetting local state

If your session or config gets into a bad state, they're plain files under ~/.harumi (or $HARUMI_HOME if set):

harumi logout            # clears your stored session

The per-project binding lives separately in <project>/.harumi/config.json; delete it to unbind a directory.

On this page