YouTube 数据 API 返回访问权限未配置错误

Ami*_*ari 7 android sha1 youtube-api android-youtube-api google-developers-console

我们最近启用了用于读取用户 YouTube 频道 ID 的 YouTube 数据 API。在我们创建的测试项目中一切正常。

现在我们请求访问我们生产项目的 YouTube 范围,并获得了谷歌的批准。

但是当我们尝试使用该项目时,我们收到了这个错误。

{
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. YouTube Data API has not been used in project 123 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=123 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
    "extendedHelp": "https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=123" }   ],   "code": 403,   "message": "Access Not Configured. YouTube Data API has not been used in project 123 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=123 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."  
}
Run Code Online (Sandbox Code Playgroud)

所有堆栈溢出答案都建议创建一个新项目并使用它。但是我们不能禁用我们现有的项目,因为它正在生产中并用于谷歌登录。

我们尝试创建一个新项目并使用现有的 SHA1,但 google 不允许在多个项目中使用相同的 SHA1。这种情况有什么解决方法吗?