Castra · Problem types

unknown_role

HTTP 400

MCP as.roles names a role that is not in the config.

Common causes

How to fix

Use a role listed in roles in castra.config.ts.

Response

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

detail says what exactly went wrong for this request.