youtube data api intermittently throw access forbidden

主宰稳场 提交于 2019-11-27 03:06:37

问题


I need to upload considerable amount of videos on YouTube, so I have a c# application, upload one file each 5 minutes. The problems is, it intermittently throw "access forbidden". For example it worked for around 4 hours this morning, then it became moody again :D. Any same experience recently with YouTube API?

It's the error I receive sometimes, but not always, after successful authentication, when it tries to upload:

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]
]

Cheers

来源:https://stackoverflow.com/questions/42498808/youtube-data-api-intermittently-throw-access-forbidden

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!