# HAMUR_E1263: Cedar policies without entities.ts

Cedar policies without entities.ts. Error `HAMUR_E1263` belongs to `hamur`, scan, build and dev (1001 – 1999).

## Message

```text
HAMUR_E1263 server/policies has policies and no entities.ts; write server/policies/entities.ts with defineEntities({ principal, sources })
```

## Cause

`server/policies/` of the app or a layer has `.cedar` policies, and no `entities.ts` says who a request acts as and where the entities come from.

## Fix

Write `server/policies/entities.ts` with `defineEntities({ principal, sources })`.
