8 views
-/https://github.com/berriai/litellm/issues/27292
GitHub · issue

#27292 [Bug]: UI forces team selection for personal keys even when user has model access

  • State: open
  • Author: @igoraj
  • Labels: bug, ui-dashboard

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

In LiteLLM v1.83.14-stable.patch.2, the UI incorrectly forces users to select a team when creating virtual keys, even when: - User has Internal User role - User has models directly assigned - User is a member of teams with model access - API endpoint /key/generate works correctly without team_id

The error message shown: "Please select a team to continue configuring your Virtual Key. If you do not see any teams, please contact your Proxy Admin to either provide you with access to models or to add you to a team."

**Expected Behavior** Internal users with model access should be able to create personal keys (Default Team) without being forced to select a specific team.

**Actual Behavior** UI blocks key creation with team selection requirement, but API works fine.

**Environment** - LiteLLM Version: v1.83.14-stable.patch.2 - User Role: Internal User (Create/Delete/View) - Models assigned to user: Yes (all proxy models) - Team membership: Yes - Config: No no-default-models restriction, no key_generation_settings blocking personal keys

**Workaroun…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (2 events)
#0 of 0 · 31d19h13m31s ago — entered · #import:https:::github.com:berriai:litellm post #1753
Issue #31838 is harder because it spans multiple backend mutation paths, distributed-cache invalidation semantics, and regression testing for consistency across lifecycle operations. Issue #27292 is narrower UI validation and state-handling work with an existing API path to preserve.
#0 of 0 · 31d19h5m25s ago — current · #import:https:::github.com:berriai:litellm post #1875
The right issue is harder because it likely requires tracing dashboard validation, permission and access-state handling, default-team behavior, and frontend/backend regression coverage. The left issue is comparatively localized to provider-specific request translation with focused tests.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search