{"record":{"id":"e7842c9e10671230","repo":"BerriAI/litellm","slug":"provider-provider-is-not-supported-for-rag-ing","errorCode":null,"errorMessage":"Provider '{provider}' is not supported for RAG ingestion. Supported providers: {supported}","messagePattern":"Provider '(.+?)' is not supported for RAG ingestion\\. Supported providers: (.+?)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/rag/main.py","lineNumber":69,"sourceCode":"\n\ndef get_ingestion_class(provider: str) -> type[BaseRAGIngestion]:\n    \"\"\"\n    Get the ingestion class for a given provider.\n\n    Args:\n        provider: The vector store provider name (e.g., 'openai')\n\n    Returns:\n        The ingestion class for the provider\n\n    Raises:\n        ValueError: If provider is not supported\n    \"\"\"\n    ingestion_class: Final = INGESTION_REGISTRY.get(provider)\n    if ingestion_class is None:\n        supported: Final = \", \".join(INGESTION_REGISTRY.keys())\n        raise ValueError(f\"Provider '{provider}' is not supported for RAG ingestion. Supported providers: {supported}\")\n    return ingestion_class\n\n\nasync def _execute_ingest_pipeline(\n    ingest_options: RAGIngestOptions,\n    file_data: tuple[str, bytes, str] | None = None,\n    file_url: str | None = None,\n    file_id: str | None = None,\n    router: Router | None = None,\n) -> RAGIngestResponse:\n    \"\"\"\n    Execute the RAG ingest pipeline using provider-specific implementation.\n\n    Args:\n        ingest_options: Configuration for the ingest pipeline\n        file_data: Tuple of (filename, content_bytes, content_type)\n        file_url: URL to fetch file from\n        file_id: Existing file ID to use","sourceCodeStart":51,"sourceCodeEnd":87,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/rag/main.py#L51-L87","documentation":"Registry lookup miss in get_ingestion_class: the requested vector store provider name has no registered RAG ingestion class, so ingestion cannot proceed. Fired by a misspelled or genuinely unsupported 'provider' value.","triggerScenarios":"Thrown at litellm/rag/main.py:69 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use one of the listed supported providers for RAG ingestion."],"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"}