【发布时间】: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