Youtube API v3显示“访问权限未配置”

时间:2019-06-10 02:48:09

标签: javascript youtube-data-api

一个月前,我使用Youtube API创建了一个Youtube可视化,效果很好,直到上周该API才停止响应。

试图;

我没有尝试过的一件事就是创建一个新项目,因为我没有这样做的权限。 (https://stackoverflow.com/a/54456853/447988

查看报告,一切似乎很好https://imgur.com/a/wIwWwrJ

代码很简单;

https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails,statistics&chart=mostPopular&regionCode=JP&maxResults=50&key=xxx

以下是错误;

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. YouTube Data API has not been used in project xxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=xxx 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=xxx"
   }
  ],
  "code": 403,
  "message": "Access Not Configured. YouTube Data API has not been used in project xxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=xxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
 }
}

0 个答案:

没有答案