{"record":{"id":"207c6ce6e5aabb2b","repo":"BerriAI/litellm","slug":"unable-to-find-milvus-vector-store-index-registry","errorCode":null,"errorMessage":"Unable to find Milvus vector store index registry or vector store registry.","messagePattern":"Unable to find Milvus vector store index registry or vector store registry\\.","errorType":"http","errorClass":"HTTPException","httpStatus":500,"severity":"error","filePath":"litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py","lineNumber":464,"sourceCode":"            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:\n        raise HTTPException(\n            status_code=500,\n            detail=\"Unable to find Milvus vector store index registry or vector store registry.\",\n        )\n\n    # check if vector store index\n    is_vector_store_index: Final = litellm.vector_store_index_registry.is_vector_store_index(\n        vector_store_index_name=collection_name\n    )\n\n    if not is_vector_store_index:\n        raise HTTPException(\n            status_code=400,\n            detail=f\"Collection {collection_name} is not a litellm managed vector store index. Only litellm managed vector store indexes are supported.\",\n        )\n\n    is_allowed_to_call_vector_store_endpoint(\n        index_name=collection_name,\n        provider=LlmProviders.MILVUS,","sourceCodeStart":446,"sourceCodeEnd":482,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py#L446-L482","documentation":"Server-side guard in the Milvus /vectors pass-through: litellm.vector_store_index_registry or litellm.vector_store_registry is None on the proxy server, meaning managed vector store support was never initialized (registries not loaded at startup). This is an internal configuration error, not caused by the request payload.","triggerScenarios":"Thrown at litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:464 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the proxy was started with a vector store registry and vector store index registry configured (litellm.vector_store_registry / vector_store_index_registry).","Register the Milvus vector store and its index in config.yaml before issuing managed vector store requests."],"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-14T05:17:10.506Z"}