Error event
An Error event is sent each time an error occurs when handling a request by the Gateway Plus (device not found, invalid command, etc.)
Fields
Name | Type | Description | Accepted values | Constraints | Required |
---|---|---|---|---|---|
| string | The input API schema version number. |
| Yes | |
| string | The message type. |
| Yes | |
| string | The message identifier. This can be used to reference it. | Any | UUID format | Yes |
| integer | The time of creation client-side, used to determine the order of incoming messages. Unix time stamp in milliseconds. | Any | 1546300800000 <= value <= 99999999999999 | Yes |
| string | The reference message identifier. Used to reference the message that caused this error. | Any | UUID format | No |
| string | The severity of the error. |
| No | |
| string | The full description of the error. | Any | 1 <= length <= 128 | No |
| string | The specified error code of the error. |
| Yes | |
| string | The serial number of a worker device. | Any | 1 <= length <= 128 | No |
| string | The serial number of the Gateway | Any | 1 <= length <= 128 | No |
Error codes
Identifier | Description |
---|---|
| An unknown error occurred (e.g. Display Command sent to a device without display). |
| The command is invalid (invalid JSON, invalid event_type, etc.) |
| Timeout on request (e.g. device did not respond on time). |
| The device referenced by |
| The device referenced by |
| Photo Reporting was disabled on this Gateway Plus. |
| Photo Reporting was cancelled due to no photos being captured. |
| A Photo Reporting session is currently in progress for the device referenced by the |
Example
{ "api_version": "1.0", "event_type": "errors", "event_id": "b08f316c-c7a6-48a6-8a5b-5de0b6d2eea3", "time_created": 1546300800000, "event_reference_id": "e4f0da9f-056b-49c8-80fa-af42614e150c", "error_severity": "ERROR", "error_message": "No suitable font for input string", "error_code": "ERROR_UNKNOWN", "device_serial": "MDMR000000064", "gateway_serial": "PGGP000000058" }