我试图使用youtubeapiv3和python将视频上传到Youtube,但我得到了以下错误。在
发生HTTP错误401:
{ "error": { "errors": [ {
"domain": "youtube.header",
"reason": "youtubeSignupRequired",
"message": "Unauthorized",
"locationType": "header",
"location": "Authorization" } ], "code": 401, "message": "Unauthorized" } }
我已经创建了我的项目,创建了我的密钥和客户端aouth2.0和google控制台,并下载了客户端_机密.json. 在
我运行的代码是Youtube API示例代码提供的,可以下载(here)for python。在
例如,如果我尝试使用相应的示例代码和我的凭证进行搜索,它工作得很好,我不知道为什么当我想上传一个视频时它不起作用。在
你能告诉我我做错了什么吗?在
提前谢谢
YouTube Data API - Errors
相关问题 更多 >
编程相关推荐