{"record":{"id":"ce68cd8fe5af44b2","repo":"BerriAI/litellm","slug":"vector-store-registry-not-found","errorCode":null,"errorMessage":"Vector store registry not found","messagePattern":"Vector store registry not found","errorType":"exception","errorClass":"Exception","httpStatus":500,"severity":"error","filePath":"litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py","lineNumber":1378,"sourceCode":"                content = await result.aread()\n                return Response(\n                    content=content,\n                    status_code=result.status_code,\n                    headers=HttpPassThroughEndpointHelpers.get_response_headers(\n                        headers=result.headers,\n                        custom_headers=None,\n                    ),\n                )\n            elif is_vector_store_index:\n                # get the api key from the provider config\n                provider_config = ProviderConfigManager.get_provider_vector_stores_config(\n                    provider=litellm.LlmProviders.AZURE_AI\n                )\n                if provider_config is None:\n                    raise Exception(\"Provider config not found for Azure AI\")\n                # get the index from registry\n                if litellm.vector_store_registry is None:\n                    raise Exception(\"Vector store registry not found\")\n\n                is_allowed_to_call_vector_store_endpoint(\n                    index_name=part,\n                    provider=litellm.LlmProviders.AZURE_AI,\n                    request=request,\n                    user_api_key_dict=user_api_key_dict,\n                )\n                # get the vector store name from index registry\n                index_object = (\n                    (litellm.vector_store_index_registry.get_vector_store_index_by_name(vector_store_index_name=part))\n                    if litellm.vector_store_index_registry is not None\n                    else None\n                )\n                if index_object is None:\n                    raise Exception(f\"Vector store index not found for {part}\")\n\n                vector_store_name = index_object.litellm_params.vector_store_name\n","sourceCodeStart":1360,"sourceCodeEnd":1396,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py#L1360-L1396","documentation":"Guard in the Azure AI vector-store path: litellm.vector_store_registry is None because no vector stores were registered on the proxy (config/general settings), so the index name from the URL path cannot be resolved to a provider credential.","triggerScenarios":"Thrown at litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:1378 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Configure a vector store registry (vector_stores in config.yaml) before using this route.","Restart the proxy after adding the registry so it is initialized."],"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"}