首页 > 解决方案 > 每天的 YouTube 查询次数变为 0

问题描述

我将我的项目与 API 一起使用了大约两年,并且工作正常。

但我最近收到错误。

{'error': {'errors': [{'domain': 'usageLimits', 'reason': 'dailyLimitExceeded', 'message': 'Daily Limit Exceeded. The quota will be reset at midnight Pacific Time (PT). You may monitor your quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/youtube.googleapis.com/quotas?project=', 'extendedHelp': 'https://console.developers.google.com/apis/api/youtube.googleapis.com/quotas?project=562388912346'}], 'code': 403, 'message': 'Daily Limit Exceeded. The quota will be reset at midnight Pacific Time (PT). You may monitor your quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/youtube.googleapis.com/quotas?project='}}

我检查了我的 google 控制台 api,发现每天的查询数变为 0。奇怪的是它无法编辑。

在此处输入图像描述

我正在寻找一些解决方案,但似乎有人仍然无法工作,如果我有选择的话,我不想删除我的项目服务器密钥。 Youtube API v3 显示“未配置访问”

我检查了我的电子邮件,看看有没有我错过 YouTube 的配额信息,有趣的是我在 2019 年 8 月 11 日收到了一封邮件,它是关于增加我的配额而不是调整到 0...

Dear YouTube API Developer,

As part of ongoing YouTube API Services management, we have adjusted the YouTube Data API Service quota assigned to your API Project Number: 1019XXXXXXXXX

Over the last 90 days, the peak daily quota usage that your API Project used to access/use YouTube Data API Service was 397940 quota points per day.  Based on this, your quota has been adjusted to 400000 quota points per day. Please note, this is higher than your peak historical usage in the last 90 days.

You don’t need to make any changes unless you need to use more quota than what is allocated to you. In that case, please use the standard quota request form found in the Google Cloud Console.

If you have other YouTube Data API project(s) for your other API Client(s), please check their new quotas in the Google Cloud Console.

Thanks,

YouTube API Services team

我再次向 YouTuBe 发送了申请表(上次是两年前)。但看起来我们不能确定我们是否有回应。 https://support.google.com/youtube/thread/9522041?hl=en

只是想知道有人对此问题有其他解决方案吗?

标签: youtube-apiyoutube-data-api

解决方案


不是最好的答案,但唯一有效的方法是创建一个新项目并将您的应用程序切换到使用它。

出于某种原因,一旦您在 GCP 上遇到“配额超出”错误和“每日限制 = 0”,您将永远被诅咒。很多人问这个问题,似乎没有人有解决方案。

创建一个新应用程序不会花费很长时间,并且会解决问题。对不起,我没有更好的消息告诉你:(


推荐阅读