【问题标题】:YouTube Data API units per day limited to 0每天 YouTube 数据 API 单位限制为 0
【发布时间】:2019-02-03 01:05:59
【问题描述】:

我正在尝试在我的 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 配额(由于声誉低,我无法发布图片,但在查看配额时会显示此内容。)

我已激活免费试用版。

【问题讨论】:

    标签: youtube-data-api


    【解决方案1】:

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

    https://console.cloud.google.com

    【讨论】:

    • 嘿,我相信我上次检查时在控制台中启用了 API。
    猜你喜欢
    • 2021-02-14
    • 2017-08-05
    • 2018-04-16
    • 2019-07-16
    • 2010-12-13
    • 2019-02-15
    • 2020-09-19
    • 2019-07-26
    • 2018-11-03
    相关资源
    最近更新 更多