NSLocalizedDescription =请求失败:找不到(404)quickblox

时间:2015-12-09 09:51:59

标签: ios

NSErrorFailingURLKey = https://api.quickblox.com/users/by_tags.json?page=1&per_page=100&tags=dev,com.alamofire.serialization.response.error.data =< 20&gt ;, NSLocalizedDescription =请求失败:未找到(404)}

.....我收到此类错误,请帮助我任何一个

1 个答案:

答案 0 :(得分:0)

您必须先创建会话。

要摆脱这种情况,您应该等待创建会话请求完成并执行下一个请求:

[QBAuth createSessionWithDelegate:self];

...

- (void)completedWithResult:(Result *)result{
     if(result.success && [result isKindOfClass:QBAAuthSessionCreationResult.class]){

         // you got token here - perform any other requests after this

         [QBUsers logInWithUserLogin:... delegate:self];

     }
}

可能会帮助你。