Castra · Problem types

invalid_reference

HTTP 400

A foreign key column points at a row that does not exist.

Common causes

How to fix

Reference an existing row.

Response

{
  "type": "https://castra.mehmetozer.dev/problems/invalid_reference",
  "title": "…",
  "status": 400,
  "detail": "…"
}

detail says what exactly went wrong for this request.