1

I made simple YouTube uploader from this tutorial:

https://www.codexworld.com/upload-video-to-youtube-using-php/

After few uploaded videos I'm getting:

{
 "error": {
  "errors": [
   {
    "domain": "youtube.quota",
    "reason": "quotaExceeded",
    "message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e."
   }
  ],
  "code": 403,
  "message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e."
 }
}

What is wrong?

I tried to use this script:

https://codecanyon.net/item/youploader-url-to-youtube-video-uploader/22591259

And its works fine...

Prisoner
  • 49,922
  • 7
  • 53
  • 105
John
  • 61
  • 2
  • 7

1 Answers1

1

Uploading videos is an extremely expensive action in terms of quota usage. An approximate calculator is available, you are currently hitting your daily limits.

This answer suggests the limit is between 25-50 uploads per day (but file size may affect this, or it may be outdated information). You may be able to increase it by adding a payment method, joining a paid plan, or contacting Google.

It also appears that different token types have different limits, so make sure you are using an OAuth token not a playground token.

Jake Lee
  • 7,549
  • 8
  • 45
  • 86