Youtube video uploads rejected before API quota limit reached

守給你的承諾、 提交于 2019-12-28 02:06:54

问题


The API quota for my project was successfully increased to 4M through the application process. This is confirmed in the details for the quota via the Google Developer console quota page for the enabled API.

Videos are, however, being rejected with this message after just the standard 50 uploads with this message:

Task 310: Upload failed. Exception: HttpError 400 "The user has exceeded the number of videos they may upload."

Here is an example of a successfully published video.

Thousands of videos are waiting in the queue from an event that finished days ago. Several people from Google have been trying to help but this morning I was asked to post on Stack Overflow.


回答1:


badRequest (400) uploadLimitExceeded The user has exceeded the number of videos they may upload.

This isn't a project based quota which would have been upgraded. This is a user based quota which can not be upgraded. It means that the user in question has exceed their upload limit for the day. The YouTube API has a slightly different quota system than other Google APIs. The ones listed in developer console are just the general ones. You should check calculating quota usage

  • 200,000 read operations that each retrieve two resource parts.
  • 10,000 write operations and 90,000 additional read operations that each retrieve two resource parts.
  • 400 video uploads, 1500 write operations, and 50,000 read operations that each retrieve two resource parts.

This quota should reset at midnight West Coast USA time. It sounds strange to me that you are seeing this after only 50 videos. I am not all that sure what denotes a user; it could be IP address or the authenticated user.

Videos: insert
Quota impact: A call to this method has a quota cost of 1600 units in addition to the costs of the specified resource parts.




回答2:


So Google support got back with a note saying that we'll just have to wait for the quota refresh... I can't even see any difference from the 'increased upload' capacity and the limit does seem to be 50 (roughly at least). I've asked them how long the anti-spam upload freeze actually is but I'll carry on breathing whilst I wait for that puppy.

Special thanks for help from DalmTo and halfer though.

Message from Google Support:

I have enabled "Increased upload" capacity for your channel. Please re-login to your account and check if all works fine.

We don't have any 50 videos per day limit anymore tell the truth, but we have antispam algorithms which may temporary suspend your Upload function.

This algorithm is confidential, so I can not discuss this feature in details. If you can not upload videos you should just wait I am afraid. But I hope "Increased upload" will help.




回答3:


This is a relatively new behavior, I was bitten by it as well. It seems YouTube/Google has no intention to change it:

https://issuetracker.google.com/issues/35919708#comment10



来源:https://stackoverflow.com/questions/42998086/youtube-video-uploads-rejected-before-api-quota-limit-reached

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!