{"record":{"id":"7892f22142b83f0c","repo":"BerriAI/litellm","slug":"no-member-members-passed-in","errorCode":null,"errorMessage":"No member/members passed in","messagePattern":"No member/members passed in","errorType":"http","errorClass":"HTTPException","httpStatus":400,"severity":"error","filePath":"litellm/proxy/management_endpoints/team_endpoints.py","lineNumber":2412,"sourceCode":"                if premium_user is not True:\n                    raise ValueError(\n                        f\"Assigning team admins is a premium feature. Got={m}. {CommonProxyErrors.not_premium_user.value}. \"\n                    )\n\n\ndef team_call_validation_checks(\n    prisma_client: PrismaClient | None,\n    data: TeamMemberAddRequest,\n    premium_user: bool,\n):\n    if prisma_client is None:\n        raise HTTPException(status_code=500, detail={\"error\": \"No db connected\"})\n\n    if data.team_id is None:\n        raise HTTPException(status_code=400, detail={\"error\": \"No team id passed in\"})\n\n    if data.member is None:\n        raise HTTPException(status_code=400, detail={\"error\": \"No member/members passed in\"})\n\n    try:\n        _check_team_member_admin_add(\n            member=data.member,\n            premium_user=premium_user,\n        )\n    except Exception as e:\n        raise HTTPException(status_code=400, detail={\"error\": str(e)})\n\n\ndef team_member_add_duplication_check(\n    data: TeamMemberAddRequest,\n    existing_team_row: LiteLLM_TeamTable,\n):\n    \"\"\"\n    Check if a member already exists in the team.\n    This check is done BEFORE we create/fetch the user, so it only prevents\n    obvious duplicates where both user_id and user_email match exactly.","sourceCodeStart":2394,"sourceCodeEnd":2430,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/proxy/management_endpoints/team_endpoints.py#L2394-L2430","documentation":"Error \"No member/members passed in\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/proxy/management_endpoints/team_endpoints.py:2412 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass a member (or members) object with user_id or user_email in the request body."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}