# `event.settings_invalid`

Events settings in `app.jadpo` hold something other than a database's `store:`.

Area 12, [Jobs and events](../topics/jobs-and-events.md); not declinable; the next step is usually the agent's.

`events: { store: }` names a database:

```jadpo
application {
    events: {
        store: archive
    }
}
```

```text
error: `store: archive` isn't a database
 --> app.jadpo:3:16
  |
3 |         store: archive
  |                ^^^^^^^ not a database
  reason: An event is kept in a database's outbox until its subscribers have it; this application's databases are `main`.
  next: Name a database connection (agent)
  rule: event.settings_invalid
  help: https://jadpo.dev/docs/errors/event.settings_invalid

check failed: 1 error, 1 file
```
