# `Ecto.NoPrimaryKeyFieldError`
[🔗](https://github.com/elixir-ecto/ecto/blob/v3.13.6/lib/ecto/exceptions.ex#L167)

Raised at runtime when an operation that requires a primary key is invoked
with a schema that does not define a primary key by using `@primary_key false`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
