What limits exist with Youtube Data API V3 BESIDES the quota allocation? - youtube

My client has an application that allows users to upload videos to youtube from a mobile application. They are first uploaded to the client's server, and then that server uploads them to youtube via the Youtube Data API V3 package from google. As traffic has picked up, the application has periods where the upload process returns a 400 error, and the uploads to YouTube fail. This usually lasts an hour and a half or so, and then the uploads begin working again.
I have already checked the Quota limits in the Developer Console area. We are not exceeding the daily quota. I also noticed the client was not using the QuotaUser field (or the deprecated UserIP field), so the next outage I ran a test to see if setting that would alleviate the stoppage, it did not. I also tried uploading from a different IP, in case the client's server IP was just being blocked temporarily, and that did not work either.
Is there a maximum number of videos upload limit in a given time period, or some other limiting factor BESIDES the quota limits?

{
"error": {
"errors": [
{
"domain": "youtube.video",
"reason": "uploadLimitExceeded",
"message": "The user has exceeded the number of videos they may upload."
}
],
"code": 400,
"message": "The user has exceeded the number of videos they may upload."
}
}
Evidently they limit the number of videos you can upload a day. Averaging historical data, it appears to be ~100 a day. Must be broken into smaller chunks, as the service comes back after much less than 24 hours.

Related

Upload video to YouTube using python getting this error

googleapiclient.errors.ResumableUploadError: <HttpError 403 when requesting None returned "The request cannot be completed because you have exceeded your quota.". Details: "[{'message': 'The request cannot be completed because you have exceeded your quota.', 'domain': 'youtube.quota', 'reason': 'quotaExceeded'}]">
All Google apis have something called a quota. Your quota is used to limit the number of requests that your application can make either by user or the project itself.
By default when you create a project on Google developer console for the YouTube api you should either have a quota of 0 or a quota of 10k. Once you have used all of your quota for the day you need to wait until the next day before you can make additional requests.
Uploading a video has a quota cost of 1600 points. This means with the default 10k quota you can upload about six videos a day.
Quota calculator
Intro to YouTube API and cost based quota for beginners

How do I increase my daily quota limit for uploading videos through youtube api?

I am working for a news channel which uploads 50 videos per day. I have integrated youtube api on the website for the same purpose. There seems to be a quota limit of 6 videos per day. Is there any way I can purchase or get more quota limit? What is the process and charges for increasing the quota limit.
The only way of obtaining a quota extension for your application is that of addressing Google directly.
There's this form that you'll have to fill in. Than wait for response -- which, according to the experience of users of this forum, doesn't arrive shortly.
I haven't worked with uploading videos but you should be able to ask for additional quotas for google apis on the IAM & ADMIN console view under Quotas (there should be a link from the developer dashboard under Quotas. Once there just select the quota you would like to change and submit a request.
Having said that, I have no experience with this process, so I don't know what is the involved in approving such a requests nor what kind of costs be involved.

Our YouTube Data API Keys are getting error "accessNotConfigured"

We are working with YouTube Data APIs for more than 5 years now and we have an enterprise offering which is been used from 90% of all Media and Entertainment organizations in the US. That includes YouTube Originals btw.
For the past 2 weeks our API Keys are blocked and returning 403 errors:
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. YouTube Data API has not been used..."
We successfully go over an App Review last July at which point we also got a Quota increase. For the past 2 weeks, I am submitting forms to increase the quota (since it is set to Zero with no apparent reason) and emailing support and basically zero response from YouTube. At this point, our business is at risk since we cannot fulfill data requests by Customers and there is no communication from YouTube.
We even provided them with App Access and logins (since as I mentioned above YouTube besides a data provider is also a customer) and we do see humans from YouTube login our app and playing around but no meaningful response yet.
We also created new keys but with a limit of 10000 calls a day its impossible to collect all necessary data mainly because our customers have videos with 10s of thousands of comments.
Any suggestions or anybody from YouTube monitoring this?

YouTube Data API v3 Queries Per Day quota issue

For years we have used the YouTube search API to provide a simple YouTube fallback for smart-tvs with no native YouTube app available. The Queries Per Day for our registered app has been set to "unlimited" trough all this time AFAIK, and we only use the youtube.search-list API.
Suddenly, three weeks back, access to the search function was no longer working. Turns out the quota for daily queries was set to blank(no number, no nothing). When trying to change it we get "enter a number in the range 0 to ."
First of all we linked the app to a billing account to be able to adjust the quota. But it was still not working. Then we contacted YouTube and filled out a big form to increase the quota. We got reply from YouTube that the quota request was granted. But we are still not able to set/change the quota. I've tried replying to to quota mail, but I guess the mail is not monitored.
We see others have had similar issues, and the solution seems to have been to contact YouTube. But we have not found any way to contact them regarding YouTube data API support queries except here on stackoverflow(we do not have a paid support plan). So we're posting here hoping that anyone from YouTube can respond - or to get tips from users that have been in the same situation.
UPDATE:
We have now tried two things:
* Removing and adding back in YouTube data API v3 in the registered app. Did not help
* Activating YouTube data API v3 on another app we have registered - this gave us a daily quota of 10000(but we would definatly prefer not to have to change to another API key)
UPDATE 2:
Info we left out that might be relevant. We recently went trough a process with Google filling out the "YouTube API Services Form"(a google docs form). We went back and forth with the google team, replacing logos, adding ToS links, changing UI etc. until we got a:
"Thanks for your response to the Audit Form. We will conduct our audit based on the information you provided. We will notify you if additional information is needed or when we completed our review. Thank you for your cooperation."
After this we have heard nothing.
Today we can see that the quota is back to 10000... We did send a second request for quota raise and I also sent a mail to the Audit Form team. Not sure which one did the trick - have received no response. And that's probably the most annoying thing about this - the complete lack of feedback.
I experienced the same issue before in one of my projects and I can tell that your access to Youtube data api has been disabled.
TLDR;
I noticed this first because I got the error below when calling Youtube data API.
{ "error": { "errors": [ { "domain": "usageLimits", "reason": "accessNotConfigured", "message": "Access Not Configured. YouTube Data API has not been used in project <my_project_id> before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=<my_project_id> then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.", "extendedHelp": "https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=<my_project_id>" } ]
So I went to the console and checked if the API is enabled (And it was). Then I checked the quota, which I suspect is the issue because I got a blank value in the queries per day. I could still edit the value, but those values didn't take effect. It eventually transitioned to 0 and after that, I can no longer edit it (This is after some editing and refresh).
When I looked at my email, it shows that they sent me an email with the following subject and content.
Subject: [FYI] YouTube disabled your inactive project’s access to YouTube Data API Service
Dear YouTube API Developer,
According to our records, your project has been inactive for the past 90 consecutive days. In accordance with the YouTube API Services Developer Policies (link), we disabled your project’s access to and use of the YouTube Data API Service.
This will not affect other Google API Services that you may have enabled on this project.
For reference, your inactive project number is my_project_number
If you desire to access and use YouTube Data API Service, or believe you were disabled in error, you may complete and submit this form to get in touch with us.
Thanks,
YouTube API Services team
The form was included in the email, but since you haven't received one, here's what you need to do as stated here.
If the API is indeed enabled, then this means that your project’s access to YouTube Data API Service has been disabled.
You should’ve received a notice via email regarding this action, which also contains the steps that need to be taken to regain the project’s access. But just in case you missed it, please fill out and submit the exceptions form below:
https://support.google.com/youtube/contact/yt_api_form?hl=en
The alternative, outright solution is to create a new project where you will get the default 10,000 quota.

Quota Limit Exceeded - How to increase Youtube API V3 quota

I'm having an issue with YouTube data API V3. We have been using YouTube Data API V3 in one of our mobile applications.
Recently we've started getting more traffics in our application and our quota use is capped at 40-50M request points, Hence any subsequent API calling throwing this errors:
code: 403,
message: "The request cannot be completed because you have exceeded your quota."
How can we increase/buy extra API limit for this project? Recently we created a billing account and added payment method for this project.
Can anybody please suggests how we can increase the extra limit?
I'm ready to pay for additional quota if needed.

Resources