我正在使用https://www.googleapis.com/auth/youtube.readonly端点。
我可以成功地Oauth验证我的应用程序,但是当我使用密钥时,我得到了:
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. YouTube Data API has not been used in project 45754353xxxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=45754353xxxx 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=45754353xxxx"
}
],
"code": 403
直到几天前,它一直有效。上面提供的链接(没有xxxx)无法在Google云控制台中加载。
有什么想法吗?
谢谢。
创建一个新项目,向其中添加所需的api,并为新项目添加一个密钥。我有相同的错误403,但现在工作正常。希望对您有帮助