【问题标题】:Video upload Issues in Youtube using youtube IOS API only New google account仅使用 youtube IOS API 在 Youtube 中的视频上传问题 新的 google 帐户
【发布时间】:2015-08-28 00:51:15
【问题描述】:

问题场景:我尝试在新的 Google 帐户中使用 iOS Youtube API 将视频上传到 youtube。记录成功后,我得到以下异常。您能否建议如何在目标 c 中修复。如何修复它请告诉我

unexpected response data (uploading to the wrong URL?)
'NSInternalInconsistencyException', reason: 'unexpected response data (uploading to the wrong URL?)'

我删除了我正在获取的代码中的调试

An error occurred: Error Domain=com.google.GTLJSONRPCErrorDomain Code=-32602 "The operation couldn’t be completed. (Unauthorized)" UserInfo=0x17547f680 {error=Unauthorized, NSLocalizedFailureReason=(Unauthorized), GTLStructuredError=GTLErrorObject 0x1744557b0: {message:"Unauthorized" data:[1] code:-32602}}   

工作场景:我尝试用旧的谷歌账户上传(这个账户已经登录并手动创建了chennal)视频上传成功。

【问题讨论】:

    标签: ios objective-c youtube-api gtm-oauth2


    【解决方案1】:

    这个错误的原因很简单。您的 Google 帐户没有关联的 YouTube 频道。

    【讨论】:

    猜你喜欢
    • 2021-07-29
    • 2016-03-14
    • 2019-01-11
    • 2020-07-13
    • 2011-05-14
    • 2013-06-22
    • 2017-04-13
    • 2019-08-08
    • 2011-11-19
    相关资源
    最近更新 更多