youtubeuploader icon indicating copy to clipboard operation
youtubeuploader copied to clipboard

quotaExceeded after 4 video's uploaded

Open sditit opened this issue 2 years ago • 8 comments

Hi! First of all; amazing work!

I just tried to upload a couple of video's and only after 4 video's YouTube blocked me; Error making YouTube API call: googleapi: Error 403: The request cannot be completed because you have exceeded your quota., quotaExceeded

When I look in the Google Cloud console I see that 10.000 queries already have been used. I do not understand how this is possible, due to the fact that I only uploaded 4 video's.

Can you help me out?

sditit avatar May 16 '22 10:05 sditit

Hi,

YouTube counts 1600 credits per upload. Normally you would be out of credits in 6 videos. Maybe you retried one video twice, then you have reached it already. You need to request access for your application. This is a very inconvenient process with Google, as they appear to normally work with webservers that interact with them, and don't appear to understand what a command line application is. Nevertheless users here have managed to overcome this hurdle and are able to upload many more files. I have the limit set to 1 million credits I think. There is a form somewhere on the google api pages where you can request to have your application validated. Explain as clear as you can that you are using a command line application and not on an online server, that your PC is secured with a password and only known people will operate the upload, and that you don't store any information retrieved over the API (that would only be allowed for 30 days, but we don't need this). After a week or so you will get some questions, respond in time (2 days or so) and you can expect some more questions (they don't appear to be very smart). Just keep on explaning that it's all very safe and you will probably get your request granted. Browse some more relevant issues here to see some more, e.g. #86

Joris

jorisrobijn avatar May 16 '22 12:05 jorisrobijn

~Please continue discussion on #86~ EDIT: on second thought, that issue isn't quite the same, so I'll leave this issue open for discussion around quota.

porjo avatar May 24 '22 04:05 porjo

You can request to increase your quota default is 10,000 per day. https://support.google.com/youtube/contact/yt_api_form?hl=en_GB

amjiddader avatar Aug 03 '22 21:08 amjiddader

fyi, I received this email today from Youtube:

Hi YouTube Developer,

We're writing to let you know about a change to the YouTube API Services.

To ensure safety at YouTube, we've limited how many videos a channel can upload in a 24-hour period via the YouTube Data API. This change aligns the YouTube Data API upload experience with the limits already in place for desktop and mobile uploads.

'to ensure safety at YouTube'....as if excessive uploads might cause physical harm to employees :laughing:

My quota seems to have remained the same :thinking:

porjo avatar Nov 30 '22 21:11 porjo

Just wait some time and you can upload again.

mh82 avatar Apr 18 '23 11:04 mh82

My quota has been increased to 650,000 and has been working flawlessly past few years. But all of a sudden I now get:

2023/11/28 08:58:07 error making YouTube API call: googleapi: Error 400: The user has exceeded the number of videos they may upload., uploadLimitExceeded

Seems now it won't let me upload more than 2 videos a day despite my quota being 650,000. Not sure if there any way to contact YouTube support and have a real human look at the issue?

feacluster avatar Nov 28 '23 14:11 feacluster

@feacluster check your quota status in Google Console here: https://console.cloud.google.com/apis/api/youtube.googleapis.com/quotas

Below is a screenshot example of what you should see:

What is the 'limit' value next to 'Queries per day'?

porjo avatar Nov 28 '23 22:11 porjo

Actually it's now working properly again. I posted the issue on youtube's API issue tracker here:

https://issuetracker.google.com/issues?q=status:open%20componentid:186600&s=created_time:desc

Seems a handful of other folks had the same issue starting from yesterday. So seems a known issue and now mine has started working again. So they must have fixed it.

feacluster avatar Nov 28 '23 23:11 feacluster