【问题标题】:YouTube Quota Exceeded after 5 video uploaded [duplicate]上传 5 个视频后超出 YouTube 配额 [重复]
【发布时间】:2019-06-07 23:08:41
【问题描述】:

我根据本教程制作了简单的 YouTube 上传器:

https://www.codexworld.com/upload-video-to-youtube-using-php/

在上传了几个视频后,我得到了:

{
 "error": {
  "errors": [
   {
    "domain": "youtube.quota",
    "reason": "quotaExceeded",
    "message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e."
   }
  ],
  "code": 403,
  "message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e."
 }
}

怎么了?

我尝试使用这个脚本:

https://codecanyon.net/item/youploader-url-to-youtube-video-uploader/22591259

而且效果很好……

【问题讨论】:

  • 你确定使用你的自己的oauthClientIDoauthClientSecret吗?
  • 杰克,是的,我确定!
  • @JakeSteam, imgur.com/a/zEEigT4
  • 嗯,好吧,这让我的回答几乎可以肯定是无关紧要的。抱歉,我会考虑的。
  • 看起来其他人也有同样的问题,但没有运气...stackoverflow.com/questions/49349004/…

标签: php google-api youtube-api youtube-data-api


【解决方案1】:

就配额使用而言,上传视频是一项极其昂贵的操作。 approximate calculator is available,您目前已达到每日限额。

This answer 建议限制在每天 25-50 次上传(但文件大小可能会影响这一点,或者它可能是过时的信息)。您可以通过添加付款方式、加入付费计划或联系 Google 来增加它。

也似乎是different token types have different limits,因此请确保您使用的是 OAuth 令牌而不是 Playground 令牌。

【讨论】:

    猜你喜欢
    • 2021-11-02
    • 2019-08-02
    • 2018-04-09
    • 2021-01-04
    • 2017-08-22
    • 2022-10-14
    • 2019-08-09
    • 2021-02-25
    • 1970-01-01
    相关资源
    最近更新 更多