{"record":{"id":"c5ed8409af442694","repo":"BerriAI/litellm","slug":"video-delete-is-not-supported-by-google-veo","errorCode":null,"errorMessage":"Video delete is not supported by Google Veo.","messagePattern":"Video delete is not supported by Google Veo\\.","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"info","filePath":"litellm/llms/gemini/videos/transformation.py","lineNumber":548,"sourceCode":"        video_id: str,\n        api_base: str,\n        litellm_params: GenericLiteLLMParams,\n        headers: dict,\n    ) -> tuple[str, dict]:\n        \"\"\"\n        Video delete is not supported by Veo API.\n        \"\"\"\n        raise NotImplementedError(\n            \"Video delete is not supported by Google Veo. Videos are automatically cleaned up by Google.\"\n        )\n\n    def transform_video_delete_response(\n        self,\n        raw_response: httpx.Response,\n        logging_obj: LiteLLMLoggingObj,\n    ) -> VideoObject:\n        \"\"\"Video delete is not supported.\"\"\"\n        raise NotImplementedError(\"Video delete is not supported by Google Veo.\")\n\n    def transform_video_create_character_request(self, name, video, api_base, litellm_params, headers):\n        raise NotImplementedError(\"video create character is not supported for Gemini\")\n\n    def transform_video_create_character_response(self, raw_response, logging_obj):\n        raise NotImplementedError(\"video create character is not supported for Gemini\")\n\n    def transform_video_get_character_request(self, character_id, api_base, litellm_params, headers):\n        raise NotImplementedError(\"video get character is not supported for Gemini\")\n\n    def transform_video_get_character_response(self, raw_response, logging_obj):\n        raise NotImplementedError(\"video get character is not supported for Gemini\")\n\n    def transform_video_edit_request(\n        self,\n        prompt,\n        video_id,\n        api_base,","sourceCodeStart":530,"sourceCodeEnd":566,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/gemini/videos/transformation.py#L530-L566","documentation":"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.","triggerScenarios":"Custom orchestration code calling transform_video_delete_response under the Gemini provider; generic response pipelines that exercise all hooks regardless of provider support.","commonSituations":"Shared multi-provider cleanup frameworks; replayed test fixtures containing delete exchanges.","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."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"try:\n    obj = handler.transform_video_delete_response(raw, logging_obj)\nexcept NotImplementedError:\n    obj = None  # delete unsupported: nothing to report","preventionTips":["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."],"tags":["veo","gemini","video-delete","not-implemented","unsupported-operation"],"backgroundTag":"unsupported-operation","analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}