【发布时间】:2019-09-20 02:02:53
【问题描述】:
我的应用程序使用 youtube data API v3 进行社交登录和注册。过去 8 个月工作正常,但突然出现这样的错误。
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. YouTube Data API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=[PROJECT_ID] 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=[PROJECT_ID]"
}
],
"code": 403,
"message": "Access Not Configured. YouTube Data API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
}
}
我已经搜索解决发现的错误few answers,但他们中的大多数不建议收集答案,真正的问题是什么。
答案是创建新项目并创建新的客户端 ID 和 OAuth。它正在工作,但它需要我的应用程序现有用户的新注册。
我尝试联系谷歌 API 以获取验证 API,但谷歌发送给我
“根据您提交的请求类型,如果您的应用不需要显示图标,则可以跳过验证过程。如果您决定跳过验证过程,不会影响您的现有功能应用程序,只要您的项目使用的范围不变。”
【问题讨论】:
-
我已经尝试删除所有引用并创建新的 Oauth 客户端不起作用。总是返回相同的错误。
标签: youtube-api youtube-data-api