diag.errors

The diag.errors command returns a list of error codes and the corresponding error string.

TR50 Request


                        {
  "cmd": {
    "command": "diag.errors"
  }
}
      

Request Parameters

The command takes no parameters.

TR50 Response

If the command is sent successfully a success as well as the error codes and messages is returned.


                        {
  "cmd": {
    "success": true,
    "params": {
      "-90000": "Error: $(STRING)",
      "-90001": "Unexpected error: $(STRING)",
      "-90002": "Database error: $(STRING)",
      ...
      "-96002": "Command timed out.",
      "-96003": "Timed out sending command.",
      "-96004": "Failed to establish HTTP to MQTT bridge: $(STRING)"
    }
  }
}
      

Related topics

A list of error codes can be view in the Management Portal. Under the Developer navigation link, select Error codes.