BerriAI/litellm · error · HTTPException
No pass-through endpoints found
Error message
No pass-through endpoints found
What it means
404 raised while updating a pass-through endpoint: reading the 'pass_through_endpoints' field from general settings failed (or returned None), meaning no pass-through endpoints are configured to update.
Source
Thrown at litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:3148
data: PassThroughGenericEndpoint,
request: Request,
user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),
):
"""
Update a pass-through endpoint by ID.
"""
from litellm.proxy.proxy_server import (
get_config_general_settings,
update_config_general_settings,
)
## Get existing pass-through endpoint field value
try:
response: Final[ConfigFieldInfo] = await get_config_general_settings(
field_name="pass_through_endpoints", user_api_key_dict=user_api_key_dict
)
except Exception:
raise HTTPException(
status_code=404,
detail={"error": "No pass-through endpoints found"},
)
pass_through_endpoint_data: Final[list | None] = response.field_value
if pass_through_endpoint_data is None:
raise HTTPException(
status_code=404,
detail={"error": "No pass-through endpoints found"},
)
# Find the endpoint to update
found_endpoint: Final = _find_endpoint_by_id(pass_through_endpoint_data, endpoint_id)
if found_endpoint is None:
raise HTTPException(
status_code=404,
detail={"error": f"Endpoint with ID '{endpoint_id}' not found"},View on GitHub (pinned to 77b7c6c40c)
Solutions
- Add at least one pass-through endpoint via config.yaml or the management API, then retry.
Defensive patterns
Strategy: type-guard
When it happens
Trigger: Thrown at litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:3148 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/33bb4f0bbada2c8a.
Report an issue: GitHub.