{"record":{"id":"713fe68bcad54335","repo":"BerriAI/litellm","slug":"vector-store-file-content-retrieve-is-not-supporte","errorCode":null,"errorMessage":"Vector store file content retrieve is not supported for {custom_llm_provider}","messagePattern":"Vector store file content retrieve is not supported for (.+?)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/vector_store_files/main.py","lineNumber":483,"sourceCode":"    **kwargs,\n) -> VectorStoreFileContentResponse | Coroutine[Any, Any, VectorStoreFileContentResponse]:\n    local_vars: Final = locals()\n    try:\n        litellm_logging_obj: Final[LiteLLMLoggingObj] = kwargs.get(\"litellm_logging_obj\")\n        litellm_call_id: Final[str | None] = kwargs.get(\"litellm_call_id\")\n        _is_async: Final = kwargs.pop(\"aretrieve_content\", False) is True\n\n        custom_llm_provider = _ensure_provider(custom_llm_provider)\n\n        _prepare_registry_credentials(vector_store_id=vector_store_id, kwargs=kwargs)\n\n        litellm_params: Final = GenericLiteLLMParams(vector_store_id=vector_store_id, **kwargs)\n\n        provider_config: Final = ProviderConfigManager.get_provider_vector_store_files_config(\n            provider=LlmProviders(custom_llm_provider)\n        )\n        if provider_config is None:\n            raise ValueError(f\"Vector store file content retrieve is not supported for {custom_llm_provider}\")\n\n        litellm_logging_obj.update_from_kwargs(\n            kwargs=kwargs,\n            model=None,\n            optional_params={\n                \"vector_store_id\": vector_store_id,\n                \"file_id\": file_id,\n            },\n            litellm_params={\n                \"vector_store_id\": vector_store_id,\n                \"litellm_call_id\": litellm_call_id,\n                **litellm_params.model_dump(exclude_none=True),\n            },\n            custom_llm_provider=custom_llm_provider,\n        )\n\n        response: Final = base_llm_http_handler.vector_store_file_content_handler(\n            vector_store_id=vector_store_id,","sourceCodeStart":465,"sourceCodeEnd":501,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/vector_store_files/main.py#L465-L501","documentation":"Provider-support check when retrieving vector store file content: no provider config for custom_llm_provider implements content retrieval, so there is no backend capable of serving the file bytes.","triggerScenarios":"Thrown at litellm/vector_store_files/main.py:483 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a provider that supports retrieving vector store file content, or implement it in a custom provider wrapper for {custom_llm_provider}."],"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"}