BerriAI/litellm · error · ValueError

Unsupported storage backend type

Error message

Unsupported storage backend type: {backend_type}. Supported types: azure_storage

What it means

Error "Unsupported storage backend type: {backend_type}. Supported types: azure_storage" thrown in BerriAI/litellm.

Solutions

  1. Use a supported storage backend type ('azure_storage').

When it happens

Trigger: Thrown at litellm/llms/base_llm/files/storage_backend_factory.py:37 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18). Data as JSON: /api/errors/eb43df68f44a580c. Report an issue: GitHub.

Appendix: source

Thrown at litellm/llms/base_llm/files/storage_backend_factory.py:37

    Backends are configured using the same environment variables as their
    corresponding callbacks. For example, "azure_storage" uses the same
    env vars as AzureBlobStorageLogger.

    Args:
        backend_type: Backend type identifier (e.g., "azure_storage")

    Returns:
        BaseFileStorageBackend: Instance of the appropriate storage backend

    Raises:
        ValueError: If backend_type is not supported
    """
    verbose_logger.debug("Creating storage backend: type=%s", backend_type)

    if backend_type == "azure_storage":
        return AzureBlobStorageBackend()
    else:
        raise ValueError(f"Unsupported storage backend type: {backend_type}. Supported types: azure_storage")

View on GitHub (pinned to 77b7c6c40c)