# Description of the on\_error Callback

This callback is called when the system encounters any error. It contains the error details and telemetry ID that you can use for further investigation.

```json
on_error { 
    "code": "error_code", 
    "event_session_id": "id_of_telemetry_session_with_error", 
    "message": "<error decription>", 
    "context": {}  // additional information if any
}
```

&#x20;
