Skip to content

Sophos Connect command line interface error codes

The following table shows common error codes returned by the Sophos Connect command line interface (CLI) when a command fails to run as expected. These codes can help you identify and troubleshoot issues.

Error Code Description
-1 Invalid option, username empty or password empty.
1 Invalid input or failed to parse the input data. Help options will be displayed.
2 File does not exist or Password empty or Cert empty
5 Failed to read/open file.
14 Failed to parse response.
101 Failed to send request to the server.
120 No data returned from server.
1016 Enter user credentials.
1024 Connection not found.
1101 User authentication failed. Please try again.
9009 "Command not found" or "Executable failed to launch properly".

If the operation doesn't complete as expected and no error message is shown, run the following command to check the error code: echo %ERRORLEVEL%

For more information about the Sophos Connect command line interface, see Sophos Connect command line tool.