Youtube api data breaks access ban

I need to upload a large number of videos to YouTube, so I have a C # application, upload one file every 5 minutes. The problem is that he periodically throws "access denied." For example, it worked for about 4 hours this morning, then became moody again: D. Any experience recently with the YouTube API?

This is the error that I get sometimes, but not always, after successful authentication, when it tries to load:

Google.Apis.Requests.RequestError
Access forbidden. The request may not be properly authorized. [403]
Errors [
    Message[Access forbidden. The request may not be properly authorized.] Location[ - ] Reason[forbidden] Domain[youtube.common]
]

Greetings

+4
source share

Source: https://habr.com/ru/post/1670981/


All Articles