roles_not_allowed
HTTP 400The remote /mcp server does not accept as.roles.
Common causes
- Roles always come from
_castra_roleson the remote server (ADR 0061).
How to fix
Pass only as: "anonymous" or as: { "userId": "..." }.
Response
{
"type": "https://castra.mehmetozer.dev/problems/roles_not_allowed",
"title": "…",
"status": 400,
"detail": "…"
}
detail says what exactly went wrong for this request.