not_found
HTTP 404The table, row or route does not exist, or you are not allowed to know that it exists.
Common causes
- The table has no policy for this operation. Castra is default closed, and a closed table looks exactly like a missing one.
- The row id does not exist, or the read policy filters it out for you.
- The table was added to the database but
castra generatehas not refreshedcastra/schema.jsonyet. - Reserved tables (
_castra_*, Better Auth tables,d1_migrations) are never reachable.
How to fix
Check the table name and id. If you own the app, open the operation in castra.config.ts, run castra generate, and redeploy.
Response
{
"type": "https://castra.mehmetozer.dev/problems/not_found",
"title": "…",
"status": 404,
"detail": "…"
}
detail says what exactly went wrong for this request.