Run the doctor
When something goes wrong, start withneetokb doctor. It checks your authentication, API connection, and CLI version.
Common errors
When a command fails, it prints a one-line error message and exits with a non-zero status.Not authenticated. Run 'neetokb login' to authenticate.
Not authenticated. Run 'neetokb login' to authenticate.
Solution: run
neetokb login --subdomain <name>.Multiple subdomains authenticated (acme, beta); specify --subdomain.
Multiple subdomains authenticated (acme, beta); specify --subdomain.
Solution: add
--subdomain <name> to the command. For neetokb logout, --all signs out of every workspace instead.Not authenticated for "foo". Authenticated subdomains: acme, beta.
Not authenticated for "foo". Authenticated subdomains: acme, beta.
--subdomain value does not match any signed-in workspace. Solution: use one of the listed subdomains, or sign in to the new one.
Subdomain not found. Please check that you entered the correct subdomain.
Subdomain not found. Please check that you entered the correct subdomain.
neetokb login found no NeetoKB workspace at <subdomain>.neetokb.com. Solution: enter only the first part of your workspace URL. For
https://acme.neetokb.com, the subdomain is acme. See Workspace subdomain.NeetoKB CLI authentication timed out after 2 minutes. Please try again.
NeetoKB CLI authentication timed out after 2 minutes. Please try again.
Solution: run
neetokb login again and approve the sign-in in the browser tab it opens. If no tab opens, paste the URL the CLI prints into your browser.required flag(s) "xxx" not set
required flag(s) "xxx" not set
Solution: check the command’s reference page or run
neetokb <command> --help for the required flags.Could not connect to NeetoKB. Check your internet connection
Could not connect to NeetoKB. Check your internet connection
<subdomain>.neetokb.com. Solution: check your network, then run
neetokb doctor to confirm the API responds.API error (401): ...
API error (401): ...
Suggestion: Authentication session expired. Run 'neetokb login' to re-authenticate. Solution: run
neetokb login --subdomain <name> again.API error (403): ...
API error (403): ...
Solution: ask a workspace admin for the required role, or sign in with an account that has it.
API error (404): ...
API error (404): ...
Solution: check the ID. Article commands accept a slug, permalink identifier (
a-XXXXXXXX), or UUID. Team member commands accept the UUID shown by neetokb team-members list.API error (422): ...
API error (422): ...
Solution: fix the listed fields and retry. Run
neetokb <command> --help for the accepted flags.API error (429): ...
API error (429): ...
Suggestion: Rate limited. Wait and try again. Solution: wait a moment, then run the command again.
Article must be published before an unlisted link can be generated.
Article must be published before an unlisted link can be generated.
Solution: publish it with
neetokb articles update <id> --state published, then retry the unlisted link command.API error (<status>): <message>. The message comes from the server’s error, notice, or errors field, or falls back to the HTTP status text. For 401, 403, 404, 422, and 429 responses the CLI appends a Suggestion: line.