Castra · Problem types

unsafe_schema

HTTP 403

Creates and updates are disabled on this table for everyone, because its schema can silently delete rows.

Common causes

How to fix

Remove ON CONFLICT REPLACE from the table in a migration, then run castra generate.

Response

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

detail says what exactly went wrong for this request.