CLIENT_TEAM_INVALID_ROLE
400invalid_requestThe requested team role is invalid.
Cause
The role is unknown, or an invitation requested the OWNER role, which can only be assigned through an authenticated owner action.
How to fix it
Use OWNER, DEVELOPER or VIEWER for members; invitations allow DEVELOPER or VIEWER.
Example response
400 CLIENT_TEAM_INVALID_ROLE
JSON
{
"error_code": "CLIENT_TEAM_INVALID_ROLE",
"error_type": "invalid_request",
"error_message": "The requested team role is invalid.",
"hint": "Use OWNER, DEVELOPER or VIEWER for members; invitations allow DEVELOPER or VIEWER.",
"docs_url": "https://docs.billerapi.com/errors/CLIENT_TEAM_INVALID_ROLE",
"request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}Related
- Error handling — the error envelope shape and how to parse it
- Error code reference — every stable error code
Canonical docs URL: https://docs.billerapi.com/errors/CLIENT_TEAM_INVALID_ROLE
Was this page helpful?