向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."
}
}
我还没有做任何事情来禁用按键,并且仪表板仍然显示项目和按键已启用?
答案 0 :(得分:1)
这似乎是由于YouTube由于某种原因将我的每日限制设置为0,从而有效地“禁止”了当前正在使用的项目。
如果发生这种情况,任何人都将发生错误消息,请记住检查项目的配额。
答案 1 :(得分:0)
I filled an issue on Youtube Bug Tracker与之相关。反馈是:
这表示您的项目无法使用YouTube数据API服务。 请填写并提交以下例外表格:https://support.google.com/youtube/contact/yt_api_form?hl=en
没有理由。