YouTube API 视频上传 (videos:insert) 仅上传两个视频就超出了​​查询配额

YouTube API Video Upload (videos:insert) query quota exceeded by uploading two videos only

我正在使用 YouTube API V3 将视频上传到我的频道。我通过 playground 获得了访问令牌,不知何故我每天的查询数量非常多:

这些是我上周每天的查询:

5070 3261 1656 9885 3312 6573 1656 17767

如您所见,我设法超过了每天 10k 的配额限制。这怎么可能呢?我的视频平均时长为 10 分钟,平均大小为 500MB。

通过videos:insert上传视频是否算超过2000个查询点?

我使用的是官方文档中的Python示例: https://developers.google.com/youtube/v3/docs/videos/insert

您的 link 说: "Quota impact: A call to this method has a quota cost of 1600 units in addition to the costs of the specified resource parts."

Google / YouTube on Quota points 进一步说:"A video upload has a cost of approximately 1600 units."

所以,我认为每个视频上传 2000 个配额积分听起来不错。

上传视频和设置自定义缩略图似乎正好需要 1656 个配额点。

此外,尝试上传,即使 returns 出错仍算作配额。