# HAMUR_E1251: A listener names an event that does not exist

A listener names an event that does not exist. Error `HAMUR_E1251` belongs to `hamur`, scan, build and dev (1001 – 1999).

## Message

```text
HAMUR_E1251 on "<name>" is not an app event (did you mean "<known>"?)
```

```text
HAMUR_E1251 on "<name>" is not an app event
```

## Cause

The `on` of a listener is not a key of any `defineAppEvents` of `server/events.ts`.

## Fix

Fix the name, or declare the event in `server/events.ts`.
