Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Youtube video uploads rejected before API quota limit reached

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.

like image 946
Rich Ross Avatar asked Mar 24 '17 11:03

Rich Ross


People also ask

How do I increase quota on YouTube API?

If you have completed an API Compliance Audit within the last 12 months but require an additional quota extension, please fill out and submit the Audited Developer Requests Form. If you have recently failed an API Compliance Audit and would like to appeal that decision, please fill out and submit the Appeals Form.

How much video can I upload on YouTube using API?

Uploads a video to YouTube and optionally sets the video's metadata. This method supports media upload. Uploaded files must conform to these constraints: Maximum file size: 256GB.

How do I get rid of daily upload limits on YouTube?

Copyright strikes may impact channel history eligibility. Community Guidelines strikes will affect how much you can upload. If you get an error saying "Daily Upload limit reached" when trying to upload a video on YouTube, try again in 24 hours.

Why does my YouTube upload keep failing?

If your video won't upload to YouTube, it could be because of issues with available bandwidth on the network you're using. On other occasions, an extremely high volume of upload traffic by other users can delay or impede your video upload.


2 Answers

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.

like image 165
DaImTo Avatar answered Sep 22 '22 01:09

DaImTo


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.

like image 21
Rich Ross Avatar answered Sep 20 '22 01:09

Rich Ross