Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Youtube data api YouTube数据API每天的单位限制为0_Youtube Data Api - Fatal编程技术网

Youtube data api YouTube数据API每天的单位限制为0

Youtube data api YouTube数据API每天的单位限制为0,youtube-data-api,Youtube Data Api,我正试图在我的Python项目中实现YouTube数据API v3。然而,我似乎总是在使用限制方面出错。 以下是我看到的具体错误: { "error": { "errors": [ { "domain": "usageLimits", "reason": "accessNotConfigured", "message": "Access Not Configured. YouTube Data API has not been used in project

我正试图在我的Python项目中实现YouTube数据API v3。然而,我似乎总是在使用限制方面出错。 以下是我看到的具体错误:

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. YouTube Data API has not been used in project 236433974813 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=236433974813 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=236433974813"
   }
  ],
  "code": 403,
  "message": "Access Not Configured. YouTube Data API has not been used in project 236433974813 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=236433974813 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
 }
}
控制台说0配额由于声誉低,我无法发布图像,但在查看配额时会这样说


我已经激活了免费试用版。

您需要先转到GCP控制台,为您的项目激活YouTube数据API。您必须为每个项目中的每个API执行此操作


嘿,我相信上次检查控制台时API已经启用了。