Skip to main content

Run the doctor

When something goes wrong, start with neetocal doctor. It checks your authentication, API connection, and CLI version.
When multiple workspaces are signed in, name the one to check:

Common errors

When a command fails, it prints a one-line error message.
Problem: no workspace is logged in.
Solution: run neetocal login --subdomain <name>.
Problem: more than one workspace is signed in, so the target is ambiguous.
Solution: add --subdomain <name> to the command.
Problem: the --subdomain value doesn’t match any logged-in workspace.
Solution: use one of the listed subdomains, or log in to the new one.
Problem: a required flag was omitted.
Solution: check the command’s reference page or run neetocal <command> --help for the required flags.
Problem: the server rejected the request (for example, a validation error).
Solution: the CLI passes through the server’s message. Check the JSON envelope (or --quiet payload) for error, errors, or notice and any suggestions from the API.

Check the version

Prints the CLI version, commit hash, and build date - useful when reporting an issue.