{"record":{"id":"93efd140ed88e842","repo":"BerriAI/litellm","slug":"vector-store-file-create-is-not-supported-for-cus","errorCode":null,"errorMessage":"Vector store file create is not supported for {custom_llm_provider}","messagePattern":"Vector store file create is not supported for (.+?)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/vector_store_files/main.py","lineNumber":136,"sourceCode":"    **kwargs,\n) -> VectorStoreFileObject | Coroutine[Any, Any, VectorStoreFileObject]:\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(\"acreate\", 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 create is not supported for {custom_llm_provider}\")\n\n        local_vars.update(kwargs)\n        create_request: VectorStoreFileCreateRequest = VectorStoreFileRequestUtils.get_create_request_params(local_vars)\n        create_request[\"file_id\"] = file_id\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                **create_request,\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,","sourceCodeStart":118,"sourceCodeEnd":154,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/vector_store_files/main.py#L118-L154","documentation":"Provider-support check in vector_store_file create: after _ensure_provider and credential prep, no provider config implements file creation for the resolved custom_llm_provider, so the operation cannot be routed to any backend.","triggerScenarios":"Thrown at litellm/vector_store_files/main.py:136 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a provider that supports vector store file creation (e.g. openai, azure) instead of {custom_llm_provider}.","Implement the operation in a custom provider wrapper."],"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"}