> For the complete documentation index, see [llms.txt](https://zumo.fusion.ac/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zumo.fusion.ac/api-reference/lobby-events/error.md).

# error

Bot or handler error.

Plus [envelope](/api-reference/websocket/envelope.md) fields.

| Field   | Type   | Description   |
| ------- | ------ | ------------- |
| `error` | string | Error message |

## Example

```json
{
  "botId": "duels-1",
  "mode": "duels",
  "lobbyId": 1,
  "timestamp": 1713500200,
  "error": "afk-action-failed: ..."
}
```
