突然从 YouTube data-API 得到 403 [英] Suddenly getting 403 from YouTube data-API

查看:19
本文介绍了突然从 YouTube data-API 得到 403的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am suddenly getting a 403 error when sending requests to YouTube's data-API.

这是我在所有请求的生产中遇到的错误:

This is the error I am getting in production for all requests:

 "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."
 }
}

我没有做任何事情来禁用密钥,仪表板仍然显示项目和密钥已启用?

I haven't done anything do disable the keys, and the dashboard still says the project and key is enabled?

推荐答案

这似乎是由于 YouTube 出于某种原因将我的每日限制设置为 0,有效地禁止"了当前正在使用的项目的使用.

This seems to be due to YouTube setting my daily limit to 0 for some reason, effectively "banning" the usage on the current project in use.

如果发生这种错误消息,请记住检查项目的配额.

If this happens error-message happens to anyone, remember to check the quotas for the project.

这篇关于突然从 YouTube data-API 得到 403的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆