BerriAI/litellm · error · NotImplementedError
GoogleAIStudioFilesHandler does not support file content ret
Error message
GoogleAIStudioFilesHandler does not support file content retrieval
What it means
Error "GoogleAIStudioFilesHandler does not support file content retrieval" thrown in BerriAI/litellm.
Source
Thrown at litellm/llms/gemini/files/transformation.py:388
litellm_params: dict,
) -> tuple[str, dict]:
raise NotImplementedError("GoogleAIStudioFilesHandler does not support file listing")
def transform_list_files_response(
self,
raw_response: httpx.Response,
logging_obj: LiteLLMLoggingObj,
litellm_params: dict,
) -> list[OpenAIFileObject]:
raise NotImplementedError("GoogleAIStudioFilesHandler does not support file listing")
def transform_file_content_request(
self,
file_content_request,
optional_params: dict,
litellm_params: dict,
) -> tuple[str, dict]:
raise NotImplementedError("GoogleAIStudioFilesHandler does not support file content retrieval")
def transform_file_content_response(
self,
raw_response: httpx.Response,
logging_obj: LiteLLMLoggingObj,
litellm_params: dict,
) -> HttpxBinaryResponseContent:
raise NotImplementedError("GoogleAIStudioFilesHandler does not support file content retrieval")
View on GitHub (pinned to 6c2dcb801b)
Solutions
- Google AI Studio files do not support content retrieval via this handler.
When it happens
Trigger: Thrown at litellm/llms/gemini/files/transformation.py:388 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of BerriAI/litellm@6c2dcb801b (2026-08-15).
Data as JSON: /api/errors/1c22e00b338f9401.
Report an issue: GitHub.