BerriAI/litellm · info · NotImplementedError
Video delete is not supported by Google Veo.
Error message
Video delete is not supported by Google Veo.
What it means
Response-side stub of the Veo delete flow. Because no delete request can be built (see the request-side NotImplementedError), no delete response can ever arrive, and this hook raises NotImplementedError symmetrically. Encountering it implies direct invocation of the Gemini response transformer outside the normal flow.
Solutions
- Remove the Gemini branch from your delete orchestration.
- Catch NotImplementedError and treat deletion as a no-op for Veo.
- Rely on Google's automatic video retention for cleanup.
Defensive patterns
Strategy: try-catch
Try / catch
try:
obj = handler.transform_video_delete_response(raw, logging_obj)
except NotImplementedError:
obj = None # delete unsupported: nothing to report Prevention
- Skip delete response handling entirely for providers without delete support.
- Keep one capability matrix as the source of truth for request and response hooks alike.
When it happens
Trigger: Custom orchestration code calling transform_video_delete_response under the Gemini provider; generic response pipelines that exercise all hooks regardless of provider support.
Common situations: Shared multi-provider cleanup frameworks; replayed test fixtures containing delete exchanges.
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 delete is not supported by Google Veo. Videos are…
- video create character is not supported for Gemini
- video edit is not supported for Gemini
- video extension is not supported for Gemini
- video get character is not supported for Gemini
AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18).
Data as JSON: /api/errors/c5ed8409af442694.
Report an issue: GitHub.
Appendix: source
Thrown at litellm/llms/gemini/videos/transformation.py:548
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,
logging_obj: LiteLLMLoggingObj,
) -> VideoObject:
"""Video delete is not supported."""
raise NotImplementedError("Video delete is not supported by Google Veo.")
def transform_video_create_character_request(self, name, video, api_base, litellm_params, headers):
raise NotImplementedError("video create character is not supported for Gemini")
def transform_video_create_character_response(self, raw_response, logging_obj):
raise NotImplementedError("video create character is not supported for Gemini")
def transform_video_get_character_request(self, character_id, api_base, litellm_params, headers):
raise NotImplementedError("video get character is not supported for Gemini")
def transform_video_get_character_response(self, raw_response, logging_obj):
raise NotImplementedError("video get character is not supported for Gemini")
def transform_video_edit_request(
self,
prompt,
video_id,
api_base,View on GitHub (pinned to 77b7c6c40c)