The request cannot be completed because you have exceeded your quota

前端 未结 1 524
情话喂你
情话喂你 2020-12-20 17:56

I tried to use the javascript MediaUploader.js to upload youtube video to my own account, for some reason, I got this error in onError function:

\"errors\":          


        
相关标签:
1条回答
  • 2020-12-20 18:39

    Youtube does not give you 10,000 Queries a day, they give you 10,000 units a day; a query can be multiple units, depending on what you're doing:

    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 your 89 queries contain video uploads or write operations, then that would explain your issue

    More Information: https://developers.google.com/youtube/v3/getting-started#quota

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