BerriAI/litellm · error · NotImplementedError

Video list is not supported by Google Veo.

Error message

Video list is not supported by Google Veo.

What it means

The response-side counterpart of the Veo video-list stub: since there is no list request to make, there is never a list response to parse, and the transformer raises NotImplementedError to keep the contract explicit. Hitting it means some layer invoked the Gemini list-response hook directly.

Solutions

  1. Make the Gemini branch skip list operations entirely rather than calling both hooks.
  2. Catch NotImplementedError and degrade gracefully (e.g. empty gallery for Gemini-backed accounts).
  3. Use the direct operations REST endpoint if enumeration is a hard requirement.
Defensive patterns

Strategy: try-catch

Try / catch

try:
    result = handler.transform_video_list_response(raw, logging_obj)
except NotImplementedError:
    result = {"data": []}  # provider without list support

Prevention

When it happens

Trigger: Custom routing/fork code that calls transform_video_list_response with the Gemini provider config, or generic response-transform plumbing invoked after a bypassed request guard.

Common situations: Framework code shared across providers that unconditionally exercises both request and response transform hooks; replaying recorded traffic in tests.

Understand the failure class

Background: UnsupportedOperationException and "is not supported" errors: when a library deliberately refuses a call — this error's family across 30 libraries.

Related errors


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

Appendix: source

Thrown at litellm/llms/gemini/videos/transformation.py:526

        order: str | None = None,
        extra_query: dict[str, Any] | None = None,
    ) -> tuple[str, dict]:
        """
        Video list is not supported by Veo API.
        """
        raise NotImplementedError(
            "Video list is not supported by Google Veo. "
            "Use the operations endpoint directly if you need to list operations."
        )

    def transform_video_list_response(
        self,
        raw_response: httpx.Response,
        logging_obj: LiteLLMLoggingObj,
        custom_llm_provider: str | None = None,
    ) -> dict[str, str]:
        """Video list is not supported."""
        raise NotImplementedError("Video list is not supported by Google Veo.")

    def transform_video_delete_request(
        self,
        video_id: str,
        api_base: str,
        litellm_params: GenericLiteLLMParams,
        headers: dict,
    ) -> tuple[str, dict]:
        """
        Video delete is not supported by Veo API.
        """
        raise NotImplementedError(
            "Video delete is not supported by Google Veo. Videos are automatically cleaned up by Google."
        )

    def transform_video_delete_response(
        self,
        raw_response: httpx.Response,

View on GitHub (pinned to 77b7c6c40c)