没有 RequestToken 可供授权
我创建了一个集成了 SoundCloudAPI 的 iPhone 应用程序。当我尝试运行该应用程序时,我收到以下错误消息:
Error Domain=SoundCloudAPIError Code=2001 "The operation couldn't be completed. (NSURLErrorDomain error - 1012)" UserInfo=0x13cbc0 {httpErrorStatus=Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn't be completed. (NSURLErrorDomain error - 1012.)" UserInfo=0x137b90 {NSErrorFailingURLKey=http://api.soundcloud.com/ oauth/access_token, NSErrorFailingURLStringKey=http:// api.soundcloud.com/oauth/access_toekn, NSUnderlyingError=0x13b590 "The operation couldn't be completed. (kCFErrorDomainCFNetwork error - 1012.)"}, NSLocalizedDescription=The operation couldn't be completed. (NSURLErrorDomain error - 1012.)}
任何人请告诉我如何解决它。
谢谢。
I have created an iPhone application with integration of SoundCloudAPI. When I try to run the application I am getting following error message:
Error Domain=SoundCloudAPIError Code=2001 "The operation couldn't be completed. (NSURLErrorDomain error - 1012)" UserInfo=0x13cbc0 {httpErrorStatus=Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn't be completed. (NSURLErrorDomain error - 1012.)" UserInfo=0x137b90 {NSErrorFailingURLKey=http://api.soundcloud.com/ oauth/access_token, NSErrorFailingURLStringKey=http:// api.soundcloud.com/oauth/access_toekn, NSUnderlyingError=0x13b590 "The operation couldn't be completed. (kCFErrorDomainCFNetwork error - 1012.)"}, NSLocalizedDescription=The operation couldn't be completed. (NSURLErrorDomain error - 1012.)}
Any one please tell me how to resolve it.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经解决了这个问题。
问题是;我没有在“回调 URL(OAuth 2 重定向 URI)”下输入回调 URL
要输入此内容,请按照以下步骤操作:
在保存之前取消选择两个复选框,这样您的应用程序还不会发布。
I have resolved this problem.
Issue is; I did not entered the Callback URL under "Callback URL (OAuth 2 Redirect URI)"
To enter this, follow below steps:
Deselect both checkboxes before saving, so your app doesn't get published just yet.