Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (No string key for value in object around character 1.) UserInfo=0x156b3c50 {NSDebugDescription=No string key for value in object around character 1.}
The problem comes from response parsing. You are trying to de-serialize a JSON reponse (which MUST be contained in either a NSArray or NSDictionary) however your response is none of the above (Most likely a simple string).
Also, try to set the "allow fragments" to the response serializer. AFJSONResponseSerializer *responseSerializer = [AFJSONResponseSerializer serializerWithReadingOptions:NSJSONReadingAllowFragments];
via. stackoverflow
The problem comes from response parsing. You are trying to de-serialize a JSON response (which MUST be contained in either a NSArray or NSDictionary) however your response is none of the above (Most likely a simple string).
Also, try to set the "allow fragments" to the response serializer. AFJSONResponseSerializer *responseSerializer = [AFJSONResponseSerializer serializerWithReadingOptions:NSJSONReadingAllowFragments];
via. stackoverflow