BerriAI/litellm · error · HTTPException
Cannot move team to organization. Team has rpm_limit {team.r
Error message
Cannot move team to organization. Team has rpm_limit {team.rpm_limit} that is greater than the organization's rpm_limit {organization.litellm_budget_table.rpm_limit}. What it means
Error "Cannot move team to organization. Team has rpm_limit {team.rpm_limit} that is greater than the organization's rpm_limit {organization.litellm_budget_table.rpm_limit}." thrown in BerriAI/litellm.
Source
Thrown at litellm/proxy/management_endpoints/team_endpoints.py:1856
if (
team.tpm_limit
and organization.litellm_budget_table
and organization.litellm_budget_table.tpm_limit
and team.tpm_limit > organization.litellm_budget_table.tpm_limit
):
raise HTTPException(
status_code=403,
detail={
"error": f"Cannot move team to organization. Team has tpm_limit {team.tpm_limit} that is greater than the organization's tpm_limit {organization.litellm_budget_table.tpm_limit}."
},
)
if (
team.rpm_limit
and organization.litellm_budget_table
and organization.litellm_budget_table.rpm_limit
and team.rpm_limit > organization.litellm_budget_table.rpm_limit
):
raise HTTPException(
status_code=403,
detail={
"error": f"Cannot move team to organization. Team has rpm_limit {team.rpm_limit} that is greater than the organization's rpm_limit {organization.litellm_budget_table.rpm_limit}."
},
)
return True
@router.post("/team/update", tags=["team management"], dependencies=[Depends(user_api_key_auth)])
@management_endpoint_wrapper
async def update_team(
data: UpdateTeamRequest,
http_request: Request,
user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),
litellm_changed_by: str | None = Header(
None,
description="The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability",
),View on GitHub (pinned to 77b7c6c40c)
Solutions
- Lower the team's rpm_limit to fit within the organization's rpm_limit before moving.
When it happens
Trigger: Thrown at litellm/proxy/management_endpoints/team_endpoints.py:1856 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18).
Data as JSON: /api/errors/df6529f20dcc7364.
Report an issue: GitHub.