0
votes

I try to make upload script on youtube channel by this sample code https://developers.google.com/youtube/v3/guides/uploading_a_video

But after 50 video upload script get 403 error

Uploading file...

An HTTP error 403 occurred:

{
 "error": {
  "errors": [
   {
    "domain": "youtube.common",
    "reason": "forbidden",
    "message": "Access forbidden. The request may not be properly authorized."
   }
  ],
  "code": 403,
  "message": "Access forbidden. The request may not be properly authorized."
 }
}

What happens? My channel quota is about 300000 units!

1
Welcome to StackOverflow. Please don't post links to a code, instead bring the code to here. Remember that links can be changed or deleted and/or have its content modified.backslash-f
From the YouTube Data API - Errors it is an error about authorization, So make sure that you follow the guides here on how to Implement OAuth 2.0 Authorization. Also, take note that service account is not supported in the YouTube API. You can refer to this link about that.KENdi

1 Answers

0
votes

Auth correct. Code correct too. 50 videos uploaded without problem.

100 video per day is new Google limitation. Details here https://issuetracker.google.com/issues/35919708