Skip to content

Instantly share code, notes, and snippets.

@mcade
Created July 6, 2014 13:40
Show Gist options
  • Save mcade/55aa52da6b71051ad4de to your computer and use it in GitHub Desktop.
Save mcade/55aa52da6b71051ad4de to your computer and use it in GitHub Desktop.
2014-07-06 08:34:13.576 sample-chat[21542:90b] self.users contactList,pendingApproval=(
" userId: 0, online: 0, subscriptionState: none",
" userId: 1242638, online: 0, subscriptionState: none"
)
2014-07-06 08:34:13.576 sample-chat[21542:3e03] Performing async request:
GET https://api.quickblox.com/users.xml
headers:{
"QB-SDK" = "iOS 1.8.6";
"Qb-Token" = 727bd7a43149eb870a09cf0a6431fa0d24a40599;
"QuickBlox-REST-API-Version" = "0.1.1";
}
parameters:{
"filter[]" = "number id in (\n \" userId: 0, online: 0, subscriptionState: none\",\n \" userId: 1242638, online: 0, subscriptionState: none\"\n)";
page = 1;
"per_page" = 50;
}
2014-07-06 08:34:13.579 sample-chat[21542:90b] QBUUser user =(null)
2014-07-06 08:34:13.580 sample-chat[21542:90b] QBUUser user =(null)
2014-07-06 08:34:13.638 sample-chat[21542:3e03] Request finished, response:
headers:{
"Access-Control-Allow-Origin" = "*";
"Cache-Control" = "no-cache";
Connection = "keep-alive";
"Content-Type" = "application/xml; charset=utf-8";
Date = "Sun, 06 Jul 2014 13:34:13 GMT";
"QB-Token-ExpirationDate" = "2014-07-06 15:34:12 UTC";
"QuickBlox-REST-API-Version" = "0.1.1";
Server = "nginx/1.0.15";
Status = "422 Unprocessable Entity";
"Transfer-Encoding" = Identity;
"X-Rack-Cache" = miss;
"X-Request-Id" = b55a3b6db4f46568cd7c229abfb2d692;
"X-Runtime" = "0.009010";
"X-UA-Compatible" = "IE=Edge,chrome=1";
}
body:
error:
Filter string is malformed - "number id in (
" userId: 0, online: 0, subscriptionState: none",
" userId: 1242638, online: 0, subscriptionState: none"
)"
Filter string is malformed - "number id in (
" userId: 0, online: 0, subscriptionState: none",
" userId: 1242638, online: 0, subscriptionState: none"
)"
2014-07-06 08:34:13.639 sample-chat[21542:3e03] XmlAnswer Parse error:Error Domain=NSXMLParserErrorDomain Code=111 "The operation couldn’t be completed. (NSXMLParserErrorDomain error 111.)"
2014-07-06 08:34:13.640 sample-chat[21542:90b] errors=(
"Unable to perform requested action due to validation errors"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment