diff --git a/litellm/proxy/management_endpoints/team_endpoints.py b/litellm/proxy/management_endpoints/team_endpoints.py index b95bf0ced49..17e0bddeaf5 100644 --- a/litellm/proxy/management_endpoints/team_endpoints.py +++ b/litellm/proxy/management_endpoints/team_endpoints.py @@ -1187,7 +1187,7 @@ async def _check_user_team_limits( ): raise HTTPException( status_code=400, - detail={ # mutable-ok: HTTPException detail must be a JSON-serializable dict + detail={ "error": ( "max parallel requests higher than user max. " f"User max parallel requests={user_api_key_dict.max_parallel_requests}. "