{"record":{"id":"09c6b9abc361e32b","repo":"BerriAI/litellm","slug":"unable-to-validate-vector-store-access","errorCode":null,"errorMessage":"Unable to validate vector store access","messagePattern":"Unable to validate vector store access","errorType":"http","errorClass":"HTTPException","httpStatus":500,"severity":"error","filePath":"litellm/proxy/vector_store_endpoints/utils.py","lineNumber":213,"sourceCode":"    LiteLLM-managed multi-tenant stores.\n    \"\"\"\n    if not vector_store_id:\n        return None\n\n    if litellm.vector_store_registry is not None:\n        try:\n            vector_store: Final = litellm.vector_store_registry.get_litellm_managed_vector_store_from_registry(\n                vector_store_id=vector_store_id\n            )\n            if vector_store is not None:\n                return _normalize_litellm_params(vector_store)\n        except Exception as e:\n            verbose_proxy_logger.warning(\n                \"Failed to resolve vector store id=%s from registry: %s\",\n                vector_store_id,\n                e,\n            )\n            raise HTTPException(\n                status_code=500,\n                detail=\"Unable to validate vector store access\",\n            ) from e\n\n    try:\n        from litellm.proxy.auth.auth_checks import (\n            get_managed_vector_store_rows_by_uuids,\n        )\n        from litellm.proxy.proxy_server import (\n            prisma_client,\n            proxy_logging_obj,\n            user_api_key_cache,\n        )\n\n        if prisma_client is None:\n            return None\n        rows: Final = await get_managed_vector_store_rows_by_uuids(\n            uuids=[vector_store_id],","sourceCodeStart":195,"sourceCodeEnd":231,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/proxy/vector_store_endpoints/utils.py#L195-L231","documentation":"Raised when resolving a vector-store id from the shared cache (e.g. Redis) threw an unexpected exception: the registry lookup failed, then the cache fallback also errored, so access cannot be verified and the endpoint fails closed with 500 rather than guessing. The original exception is chained and logged as a warning.","triggerScenarios":"Thrown at litellm/proxy/vector_store_endpoints/utils.py:213 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the vector store exists and the database is connected so access can be validated; check logs for details."],"exampleFix":null,"handlingStrategy":"try-catch","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"}