Hitting YouTube API serving limit with the slightest load

后端 未结 3 1513
孤城傲影
孤城傲影 2021-01-12 21:40

I have a script at parse.com which imports a fresh information about recent videos from ~10 channels with YouTube v3 API. It worked well for some time, but about a month ago

相关标签:
3条回答
  • 2021-01-12 22:26

    I think this is a issue on YouTube's end and doesn't seem related to the actual quota used.

    I have been getting quite a few of these errors sporadically, and seemingly for no reason, over the last few weeks - see YouTube Data API - “Serving Limit Exceeded”

    0 讨论(0)
  • Version 3 of the YouTube Data API has concrete quota numbers listed in the Google API Console where you register for your API Key. You can use 30,000 units/second/user and 50,000,000 per day.

    You can read about what a unit is here.

    A simple read operation that only retrieves the ID of each returned resource has a cost of approximately 1 unit.

    A write operation has a cost of approximately 50 units.

    A video upload has a cost of approximately 1600 units.

    If you hit the limits, Google will stop returning results until your quota is reset. You can apply for more than 50M requests per day, but you will have to pay for those extra requests.

    Also, you can read about why Google has deferred support to StackOverflow on their YouTube blog here.

    There are a number of active members on the YouTube Developer Relations team here including Jeff Posnick, Jarek Wilkiewicz, and Ibrahim Ulukaya who all have knowledge of YouTube internals...

    0 讨论(0)
  • 2021-01-12 22:42

    I've just filed a bug report with YouTube. Please "star" that issue to draw attention to it and track updates, if you'd like.

    0 讨论(0)
提交回复
热议问题