{"record":{"id":"33bb4f0bbada2c8a","repo":"BerriAI/litellm","slug":"no-pass-through-endpoints-found","errorCode":null,"errorMessage":"No pass-through endpoints found","messagePattern":"No pass-through endpoints found","errorType":"http","errorClass":"HTTPException","httpStatus":404,"severity":"error","filePath":"litellm/proxy/pass_through_endpoints/pass_through_endpoints.py","lineNumber":3148,"sourceCode":"    data: PassThroughGenericEndpoint,\n    request: Request,\n    user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),\n):\n    \"\"\"\n    Update a pass-through endpoint by ID.\n    \"\"\"\n    from litellm.proxy.proxy_server import (\n        get_config_general_settings,\n        update_config_general_settings,\n    )\n\n    ## Get existing pass-through endpoint field value\n    try:\n        response: Final[ConfigFieldInfo] = await get_config_general_settings(\n            field_name=\"pass_through_endpoints\", user_api_key_dict=user_api_key_dict\n        )\n    except Exception:\n        raise HTTPException(\n            status_code=404,\n            detail={\"error\": \"No pass-through endpoints found\"},\n        )\n\n    pass_through_endpoint_data: Final[list | None] = response.field_value\n    if pass_through_endpoint_data is None:\n        raise HTTPException(\n            status_code=404,\n            detail={\"error\": \"No pass-through endpoints found\"},\n        )\n\n    # Find the endpoint to update\n    found_endpoint: Final = _find_endpoint_by_id(pass_through_endpoint_data, endpoint_id)\n\n    if found_endpoint is None:\n        raise HTTPException(\n            status_code=404,\n            detail={\"error\": f\"Endpoint with ID '{endpoint_id}' not found\"},","sourceCodeStart":3130,"sourceCodeEnd":3166,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py#L3130-L3166","documentation":"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.","triggerScenarios":"Thrown at litellm/proxy/pass_through_endpoints/pass_through_endpoints.py:3148 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add at least one pass-through endpoint via config.yaml or the management API, then retry."],"exampleFix":null,"handlingStrategy":"type-guard","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-14T00:17:10.932Z"}