{"record":{"id":"848971f682908dba","repo":"BerriAI/litellm","slug":"provider-config-not-found-for-azure-ai","errorCode":null,"errorMessage":"Provider config not found for Azure AI","messagePattern":"Provider config not found for Azure AI","errorType":"exception","errorClass":"Exception","httpStatus":500,"severity":"error","filePath":"litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py","lineNumber":1375,"sourceCode":"\n                # Non-streaming response\n                result = cast(httpx.Response, result)\n                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}\")","sourceCodeStart":1357,"sourceCodeEnd":1393,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py#L1357-L1393","documentation":"Raised in the Azure AI vector-store branch when ProviderConfigManager returns no vector-store config for the provider — meaning the deployment lacked the provider-specific settings (api key/base) needed to call the vector store index endpoint.","triggerScenarios":"Thrown at litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:1375 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register an Azure AI provider configuration in the proxy config (azure_ai provider section or via the UI).","Verify the provider name in the request matches a configured Azure AI provider."],"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-14T05:17:10.506Z"}