突然从YouTube数据API获取403

问题描述 投票:0回答:1

向YouTube的数据API发送请求时,我突然收到403错误。

这是我在所有请求中都出现的错误:

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

我还没有做任何事情来禁用按键,并且仪表板仍然显示项目和按键已启用?

google-api youtube-api youtube-data-api
1个回答
0
投票

这似乎是由于YouTube由于某种原因将我的每日限制设置为0,从而有效地“禁止”了当前使用中的项目的使用。

如果发生这种情况,任何人都将发生错误消息,请记住检查项目的配额。

© www.soinside.com 2019 - 2024. All rights reserved.