(Cocoa error 3840.)\" (Invalid value around character 0.) AFNetworking
I've been getting the following error when using the GET method to retrieve a file from a server: Error: Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (Invalid value around character 0.) UserInfo=0x16e81ed0 {NSDebugDescription=Invalid value around character 0.} I've tried a number of different things and I believe it could be something to do with the JSON format on the file that I'm trying to get. Here is the code I've been using: _username = @"JonDoe"; NSDictionary *parameters = @{ @"username" : _username}; AFHTTPRequestOperationManager