qwerty18011908
qwerty18011908

Reputation: 11

YouTube Data API v3 quota exceeded on the first upload

I am trying to develop a desktop application in Java for uploading videos. I create a new Google account, create project on developer console and create credentials (ClientID and ClientSecret). After creating all of these, i do authorization (as in java examples), the application opens browser window for me to allow the application to manage the channel, and everything works fine. But when i try to upload a video (short video, tried it on other channels before and it uploaded every time), i immediately get quota exceeded response. And in the developer console i can see that quota is actually exceeded (9644 queries already). I must add that this is happening only for the newly registered accounts - the same video uploads without issues using the same app. Why is this happening? Is there any way I can "register" new account and immediately do upload? If not, how can I do this properly? Thanks

Upvotes: 0

Views: 1353

Answers (2)

neerda
neerda

Reputation: 33

I had a similar problem with the python code that i used (i modified code based on https://developers.google.com/youtube/v3/guides/uploading_a_video). I solved it using the following workflow:

the browser should open and ask you to log into your account

what i noticed is that:

  • if you get three errors in three hours it seems to exceed the quota and you cannot continue
  • the upload works for about 5 videos a day. If you need to upload more and cannot wait the only way is to create a new account and repeat the steps above (as far as I know)

Upvotes: 1

stvar
stvar

Reputation: 6985

It may be worth investigating further: I guess that your issue has to do with the API issues seen since about three days now. See the answer https://stackoverflow.com/a/55220182/8327971; also Google's known and acknowledged issue: https://issuetracker.google.com/issues/128673552.

Upvotes: 0

Related Questions