You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Speech to Text v2权限错误求助:'speech.recognizers.recognize'被拒绝

解决Speech to Text v2权限报错"Permission 'speech.recognizers.recognize' denied"的方案
  • 确认API Key关联账号的权限
    Speech to Text v1和v2的权限体系不兼容,v1的权限无法覆盖v2需求。需给API Key所属的Google Cloud账号绑定Speech-to-Text Recognizer User(roles/speech.recognitionUser)角色,或包含speech.recognizers.recognize权限的自定义角色。

  • 验证API Key的资源范围限制
    检查创建API Key时是否设置了服务/资源访问限制,若有,需添加Speech-to-Text v2相关资源权限,或临时取消限制测试是否恢复正常。

  • 检查Recognizer资源的权限绑定
    登录Google Cloud控制台,找到对应Recognizer的权限配置页,确认API Key所属账号(或关联服务账号)被授予了该资源的speech.recognizers.recognize权限。

  • 确认API Key状态有效性
    到Google Cloud控制台的API密钥管理页面,检查该API Key是否处于启用状态,是否未过期。

内容的提问来源于stack exchange,提问作者Ian Hughes-Rowlands

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.14 13:02:31