{"record":{"id":"302f22263ca56495","repo":"BerriAI/litellm","slug":"collection-collection-name-is-not-a-litellm-mana","errorCode":null,"errorMessage":"Collection {collection_name} is not a litellm managed vector store index. Only litellm managed vector store indexes are supported.","messagePattern":"Collection (.+?) is not a litellm managed vector store index\\. Only litellm managed vector store indexes are supported\\.","errorType":"http","errorClass":"HTTPException","httpStatus":400,"severity":"error","filePath":"litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py","lineNumber":475,"sourceCode":"    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,\n        request=request,\n        user_api_key_dict=user_api_key_dict,\n    )\n    # get the vector store name from index registry\n\n    index_object: Final = (\n        (litellm.vector_store_index_registry.get_vector_store_index_by_name(vector_store_index_name=collection_name))\n        if litellm.vector_store_index_registry is not None\n        else None\n    )\n    if index_object is None:","sourceCodeStart":457,"sourceCodeEnd":493,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py#L457-L493","documentation":"The 'collectionName' supplied to the Milvus /vectors pass-through was found in neither the vector store index registry nor the vector store registry, i.e. it does not correspond to a LiteLLM-managed vector store index. Only managed indexes can be proxied through this endpoint because credentials and routing must be resolved server-side.","triggerScenarios":"Thrown at litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:475 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a collection that was created as a litellm managed vector store index; unmanaged Milvus collections are not supported on this route.","Create the index via the litellm vector store management API, then retry with that collection name."],"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"}