#30972 [Bug]: /tag/list (and tool-policy endpoints) return HTTP 500 — find_many/find_unique(select=...) is incompatible with prisma-client-py ("unexpected keyword argument 'select'")
### What happened?
After upgrading to **v1.89.2**, calling `GET /tag/list` returns **HTTP 500**:
```json {"detail": "LiteLLM_VerificationTokenActions.find_many() got an unexpected keyword argument 'select'"} ```
**Root cause:** several management endpoints now pass a `select=` argument to Prisma read methods, but **prisma-client-py does not support `select`** in `find_many` / `find_unique` (field selection in prisma-client-py is only available via build-time *partial types*, not a runtime `select=` kwarg). Passing `select=` therefore raises a Python `TypeError` because the generated method signature does not declare that parameter, which surfaces as an HTTP 500.
**Affected call sites (v1.89.2):**
- `litellm/proxy/management_endpoints/tag_management_endpoints.py` — `_get_internal_user_api_keys()`: ```python key_records = await prisma_client.db.litellm_verificationtoken.find_many( where={"user_id": user_id}, select={"token": True}, # <-- not supported by prisma-client-py ) ``` - `litellm/proxy/management_endpoints/tool_management_endpoints.py` — `_resolve_team_id_to_object_permission_id()` (two calls, ~lines 388 an…