Start with doctor
neetodesk doctor checks each thing independently and reports all of them, so one failure does
not hide the next:
✗ and followed by the reason. When no workspace is signed in the
connection check is skipped unless you pass --subdomain, which lets you confirm a workspace
is reachable before signing in.
Reading an API error
When the API rejects a request, the CLI reports the status code, the message the API returned and a suggestion, then exits with status 1:- lines.
Common problems
Not authenticated. Run 'neetodesk login' to authenticate.
Not authenticated. Run 'neetodesk login' to authenticate.
Solution: Run
neetodesk login. See Authentication.Multiple subdomains authenticated (acme, globex); specify --subdomain.
Multiple subdomains authenticated (acme, globex); specify --subdomain.
Solution: Add
--subdomain acme to the command, or drop the workspaces you no longer
need with neetodesk logout --subdomain globex.Not authenticated for "acme". Authenticated subdomains: globex.
Not authenticated for "acme". Authenticated subdomains: globex.
Solution: Check the spelling of the subdomain, then run
neetodesk login --subdomain acme.Subdomain not found. Please check that you entered the correct subdomain.
Subdomain not found. Please check that you entered the correct subdomain.
neetodesk login could not find a workspace at the subdomain you typed. Solution: Enter only the first label of your workspace URL:
acme for
acme.neetodesk.com. See Workspace subdomain.Authentication session expired. Please try again.
Authentication session expired. Please try again.
Solution: Run
neetodesk login again and finish the sign-in in the browser it opens.NeetoDesk CLI authentication timed out after 2 minutes. Please try again.
NeetoDesk CLI authentication timed out after 2 minutes. Please try again.
Solution: Run
neetodesk login again. If the browser did not open, paste the URL the
CLI printed after “If the browser doesn’t open, visit:” into a browser yourself.API error (401) after it worked yesterday
API error (401) after it worked yesterday
Solution: Run
neetodesk login to sign in again. The stored credential is replaced.Could not connect to NeetoDesk. Check your internet connection
Could not connect to NeetoDesk. Check your internet connection
Solution: Run
neetodesk doctor to see which host it is trying, and confirm you can
reach that host in a browser.required flag(s) "email" not set
required flag(s) "email" not set
Run 'neetodesk --help' for usage. and exits with status 1. The same happens for an
unknown command, an unknown flag or a missing positional argument. Solution: Run
neetodesk <command> --help; required flags are marked in the
command reference flag tables.command not found: neetodesk
command not found: neetodesk
PATH. Solution: On macOS and Linux the install script puts the binary in
/usr/local/bin,
which is on the default PATH; check that your shell has not overridden it. On Windows the
installer adds %LOCALAPPDATA%\Programs\neetodesk to your user PATH, which only takes
effect in a new terminal. See Installation.Completions are missing new commands after an upgrade
Completions are missing new commands after an upgrade
Solution: Re-run
neetodesk completion <shell>. See
Shell completion.A ticket you can see in the web app is missing from tickets list
A ticket you can see in the web app is missing from tickets list
Solution: Confirm which account you are signed in as with
neetodesk whoami. If the
account is right, the restriction is the role, not the CLI.