{"record":{"id":"5a68843af51ea23e","repo":"BerriAI/litellm","slug":"google-speech-to-text-does-not-support-response-fo","errorCode":null,"errorMessage":"Google Speech-to-Text does not support response_format={response_format!r}. Supported values: {', '.join(SUPPORTED_RESPONSE_FORMATS)}. To drop unsupported openai params from the call, set `litellm.drop_params = True`","messagePattern":"Google Speech-to-Text does not support response_format=(.+?)\\. Supported values: (.+?)\\. To drop unsupported openai params from the call, set `litellm\\.drop_params = True`","errorType":"validation","errorClass":"UnsupportedParamsError","httpStatus":400,"severity":"error","filePath":"litellm/llms/vertex_ai/audio_transcription/transformation.py","lineNumber":63,"sourceCode":"\n    def map_openai_params(\n        self,\n        non_default_params: dict,\n        optional_params: dict,\n        model: str,\n        drop_params: bool,\n    ) -> dict:\n        supported_params: Final = self.get_supported_openai_params(model)\n        mapped: Final = {\n            **optional_params,\n            **{k: v for k, v in non_default_params.items() if k in supported_params},\n        }\n        response_format: Final = mapped.get(\"response_format\")\n        if response_format is None or response_format in SUPPORTED_RESPONSE_FORMATS:\n            return mapped\n        if drop_params or litellm.drop_params:\n            return {k: v for k, v in mapped.items() if k != \"response_format\"}\n        raise UnsupportedParamsError(\n            status_code=400,\n            message=(\n                f\"Google Speech-to-Text does not support response_format={response_format!r}. \"\n                f\"Supported values: {', '.join(SUPPORTED_RESPONSE_FORMATS)}. \"\n                \"To drop unsupported openai params from the call, set `litellm.drop_params = True`\"\n            ),\n        )\n\n    def get_error_class(self, error_message: str, status_code: int, headers: dict | Headers) -> BaseLLMException:\n        return VertexAIError(status_code=status_code, message=error_message, headers=headers)\n\n    def validate_environment(\n        self,\n        headers: dict,\n        model: str,\n        messages: list[AllMessageValues],\n        optional_params: dict,\n        litellm_params: dict,","sourceCodeStart":45,"sourceCodeEnd":81,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/vertex_ai/audio_transcription/transformation.py#L45-L81","documentation":"Error \"Google Speech-to-Text does not support response_format={response_format!r}. Supported values: {', '.join(SUPPORTED_RESPONSE_FORMATS)}. To drop unsupported openai params from the call, set `litellm.drop_params = True`\" thrown in BerriAI/litellm.","triggerScenarios":"Triggered when an unsupported response_format is passed to Google Speech-to-Text via Vertex AI.","commonSituations":"See trigger scenarios.","solutions":["Use one of the supported response_format values listed in the error.","Or set litellm.drop_params = True to drop the unsupported param."],"exampleFix":"litellm.drop_params = True","handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}