# `data.identity_missing`

Entity has no `id` field.

Area 5, [Data](../topics/data.md); not declinable; the next step is usually the agent's.

```jadpo
entity Note {
    body: Text
}
```

```text
error: `Note` has no `id` field
 --> main.jadpo:1:8
  |
1 | entity Note {
  |        ^^^^ no `id`
  reason: Every entity's identity is one field, `id`, based on `Uuid`: generated when a record is created and never supplied by callers, so other code can refer to it as `Entity.id`.
  next: Add `id: Uuid` as the entity's first field (agent)
  rule: data.identity_missing
  help: https://jadpo.dev/docs/errors/data.identity_missing

check failed: 1 error, 1 file
```
