Run the doctor
neetocal doctor is the first thing to run when something isn’t working. It checks that you are authenticated, that the API is reachable, and reports the CLI version.
Common errors
Every command exits non-zero on failure and writes a single-line message tostderr.
not logged in. Run 'neetocal login' to authenticate
not logged in. Run 'neetocal login' to authenticate
Problem: no workspace is logged in.
Solution: run
Solution: run
neetocal login --subdomain <name>.multiple subdomains logged in (acme, beta); specify --subdomain
multiple subdomains logged in (acme, beta); specify --subdomain
Problem: more than one workspace is logged in, so the target is ambiguous.
Solution: add
Solution: add
--subdomain <name> to the command.not logged in to "foo". Logged in subdomains: acme, beta
not logged in to "foo". Logged in subdomains: acme, beta
Problem: the
Solution: use one of the listed subdomains, or log in to the new one.
--subdomain value doesn’t match any logged-in workspace. Solution: use one of the listed subdomains, or log in to the new one.
required flag(s) "xxx" not set
required flag(s) "xxx" not set
Problem: a required flag was omitted.
Solution: check the command’s reference page or run
Solution: check the command’s reference page or run
neetocal <command> --help for the required flags.An API error message
An API error message
Problem: the server rejected the request (for example, a validation error).
Solution: the server’s message is passed through. Inspect the JSON envelope (or the
Solution: the server’s message is passed through. Inspect the JSON envelope (or the
--quiet payload) for error, errors, or notice keys and any suggestions the API returns.