Reputation: 241
I get this error when I try to retrieve items from Parse.com In 10 attempts it failed around 6 times.
PFQuery *query = [PFQuery queryWithClassName:@"ServiceCatalogue"];
items = [[NSMutableArray alloc] init];
[query findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
if (!error) {
NSLog(@"ServiceCatalogue retrieved");
} else {
// Log details of the failure
NSLog(@"Error: %@ %@", error, [error userInfo]);
}
}];
And getting error:
"Error: Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not start with array or object and option to allow fragments not set.) UserInfo=0x7fcfbaadc480 {NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} { NSDebugDescription = "JSON text did not start with array or object and option to allow fragments not set."; }"
Upvotes: 0
Views: 319
Reputation: 8380
As indicated in this status report from Parse, it looks like their servers were creating an elevated number of errors.
2nd October 2015 - Elevated Error Rates - Incident Report for Parse
Upvotes: 1