BerriAI/litellm · error · NotImplementedError
Video list is not supported by Google Veo. Use the…
Error message
Video list is not supported by Google Veo. Use the operations endpoint directly if you need to list operations.
What it means
transform_video_list_request for Gemini/Veo raises NotImplementedError because Google's Veo API exposes no 'list videos' endpoint (videos are addressed by operation name). The message points you at the raw long-running-operations endpoint if you truly need to enumerate operations.
Solutions
- Track the video ids (operation names) your application creates — persist the VideoObject.id from each video_generation call — instead of listing.
- If you must enumerate, call Google's operations REST endpoint directly: GET {api_base}/v1beta/operations with your API-key header, per the error's guidance.
- Guard the list action per provider so Gemini is excluded or handled separately.
Example fix
# before
videos = litellm.video_list(model="gemini/veo-3", limit=10)
# after: Veo has no list API; GET operations directly with httpx
import httpx
resp = httpx.get(
f"https://generativelanguage.googleapis.com/v1beta/operations",
headers={"x-goog-api-key": api_key},
params={"pageSize": 10},
)
operations = resp.json().get("operations", []) Defensive patterns
Strategy: try-catch
Validate before calling
def provider_supports_video_list(model: str) -> bool:
return not model.lower().startswith(("gemini/", "vedo/")) Type guard
def can_list_videos(model: str) -> bool:
return not model.lower().startswith(("gemini/", "vedo/")) Try / catch
try:
videos = litellm.video_list(model=model)
except NotImplementedError:
videos = load_video_ids_from_local_store() # Gemini: track ids yourself Prevention
- Persist every VideoObject.id you create; that is the only inventory for Veo.
- Build galleries from your own records, not provider listing.
- Use the raw operations REST endpoint if enumeration is unavoidable.
When it happens
Trigger: Calling litellm.video_list(...) (or a wrapper) with a Gemini/Veo model/provider configuration.
Common situations: Porting an application from OpenAI's video API (which lists videos) to Gemini; building generic 'my videos' gallery pages that assume listing exists for every provider.
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
- Video list is not supported by Google Veo.
- video create character is not supported for Gemini
- Video delete is not supported by Google Veo.
- Video delete is not supported by Google Veo. Videos are…
- video edit is not supported for Gemini
AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18).
Data as JSON: /api/errors/f4054ad852d6b65d.
Report an issue: GitHub.
Appendix: source
Thrown at litellm/llms/gemini/videos/transformation.py:514
custom_llm_provider: str | None = None,
) -> VideoObject:
"""Video remix is not supported."""
raise NotImplementedError("Video remix is not supported by Google Veo.")
def transform_video_list_request(
self,
api_base: str,
litellm_params: GenericLiteLLMParams,
headers: dict,
after: str | None = None,
limit: int | None = None,
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,View on GitHub (pinned to 77b7c6c40c)