{"record":{"id":"e125262761e7e574","repo":"BerriAI/litellm","slug":"video-extension-is-not-supported-for-gemini","errorCode":null,"errorMessage":"video extension is not supported for Gemini","messagePattern":"video extension is not supported for Gemini","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"litellm/llms/gemini/videos/transformation.py","lineNumber":593,"sourceCode":"        self,\n        raw_response,\n        logging_obj,\n        custom_llm_provider=None,\n        request_data=None,\n    ):\n        raise NotImplementedError(\"video edit is not supported for Gemini\")\n\n    def transform_video_extension_request(\n        self,\n        prompt,\n        video_id,\n        seconds,\n        api_base,\n        litellm_params,\n        headers,\n        extra_body=None,\n    ):\n        raise NotImplementedError(\"video extension is not supported for Gemini\")\n\n    def transform_video_extension_response(self, raw_response, logging_obj, custom_llm_provider=None):\n        raise NotImplementedError(\"video extension is not supported for Gemini\")\n\n    def get_error_class(self, error_message: str, status_code: int, headers: dict | httpx.Headers) -> BaseLLMException:\n        from ..common_utils import GeminiError\n\n        return GeminiError(\n            status_code=status_code,\n            message=error_message,\n            headers=headers,\n        )\n","sourceCodeStart":575,"sourceCodeEnd":606,"githubUrl":"https://github.com/BerriAI/litellm/blob/6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d/litellm/llms/gemini/videos/transformation.py#L575-L606","documentation":"Error \"video extension is not supported for Gemini\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/llms/gemini/videos/transformation.py:593 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Gemini does not support video extension."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d","analyzedAt":"2026-08-15T07:12:03.035Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}