{"record":{"id":"5e51bf0df34f9221","repo":"BerriAI/litellm","slug":"unable-to-find-milvus-vector-store-config","errorCode":null,"errorMessage":"Unable to find Milvus vector store config.","messagePattern":"Unable to find Milvus vector store config\\.","errorType":"http","errorClass":"HTTPException","httpStatus":500,"severity":"error","filePath":"litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py","lineNumber":445,"sourceCode":"\n@router.api_route(\n    \"/milvus/{endpoint:path}\",\n    methods=[\"GET\", \"POST\", \"PUT\", \"DELETE\", \"PATCH\"],\n    tags=[\"Milvus Pass-through\", \"pass-through\"],\n)\nasync def milvus_proxy_route(\n    endpoint: str,\n    request: Request,\n    fastapi_response: Response,\n    user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),\n):\n    \"\"\"\n    Enable using Milvus `/vectors` endpoint as a pass-through endpoint.\n    \"\"\"\n\n    provider_config: Final = ProviderConfigManager.get_provider_vector_stores_config(provider=LlmProviders.MILVUS)\n    if not provider_config:\n        raise HTTPException(\n            status_code=500,\n            detail=\"Unable to find Milvus vector store config.\",\n        )\n\n    # check if managed vector store index is used\n    request_body: Final = await get_request_body(request)\n\n    # check collectionName\n    collection_name: Final = cast(str | None, request_body.get(\"collectionName\"))\n    extra_headers = {}\n    base_target_url: str | None = None\n    if not collection_name:\n        raise HTTPException(\n            status_code=400,\n            detail=f\"Collection name is required. Got {request_body}\",\n        )\n\n    if not litellm.vector_store_index_registry or not litellm.vector_store_registry:","sourceCodeStart":427,"sourceCodeEnd":463,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py#L427-L463","documentation":"HTTPException raised on the Milvus pass-through route: no provider vector-stores config is registered for the MILVUS provider, so the Milvus endpoint/base URL and credentials cannot be resolved. The pass-through cannot forward the request to a Milvus instance.","triggerScenarios":"Thrown at litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:445 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Define a vector store entry with the Milvus provider in the proxy config (litellm_vector_store_registry or config.yaml vector_stores).","Verify the vector_store_name/collection in the request matches a configured Milvus vector store."],"exampleFix":null,"handlingStrategy":"validation","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"}