Got the following on a callback from twitter easylogin, was working before:
UserService -> handleOpenURL: ERROR = Error Domain=NSCocoaErrorDomain Code=3840 “JSON text did not start with array or object and option to allow fragments not set.” UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}
checked the url that its trying to process and got this:
backendless1E010ADE-5171-872D-FFEE-59555AC23100://%7B%22fault%22:%22Too%20many%20open%20files%22%7D
Looks like its a “too many open files” fault. What is that?
BTW, I just reverted back to a previous version of the SDK and the issue went away…
This issue is fixed. Please update the latest Backendless SDK from CocoaPods (3.0.21 release) or from github.
This problem continues in my project… I’m using the last version 3.0.30
backendless.userService.easyLoginWithFacebookFieldsMapping([“name”: “name”, “email”: “email” ], permissions: [“email”,“public_profile”], response: {(result : NSNumber!) -> () in
}, error: { (fault : Fault!) -> () in
print("Server reported an error: \(fault)")
})
2016-07-13 20:58:15.084 EasyGO[6679:3719496] UserService -> handleOpenURL: url = ‘backendless006aef26-256e-ad68-ff3b-8815fb534c00://gmail.com%22%7D#=’
2016-07-13 20:58:15.085 EasyGO[6679:3719496] UserService -> handleOpenURL: JSONObject = ‘gmail.com"}#=’
2016-07-13 20:58:15.085 EasyGO[6679:3719496] UserService -> handleOpenURL: ERROR = Error Domain=NSCocoaErrorDomain Code=3840 “JSON text did not start with array or object and option to allow fragments not set.” UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}
Hi Juliana,
I think you have some non-latin symbols in your name in account.
This is known problem, we are working with it (internal ticket BKNDLSS-12905).
We will let you know, when fix will be done.
Regards,
Slava
Hi Juliana,
This issue is fixed in the latest Backendless SDK (pod 3.0.32 release), but the server side fixes yet are not deployed. Hope we do this tomorrow. We will let you know when it will be done.
Regards,
Slava
Hi Juliana,
We have deployed the server-side fixes, so you could update the latest Backendless SDK and check your app again.
Regards,
Slava
Vyacheslav,
I updated the last version SDK… and error!
UserService -> handleOpenURL: url = ‘backendlessd734b322-1645-2624-ff47-47c222cc0500://%7B%22lastLogin%22#=’
UserService -> handleOpenURL: JSONObject (1) = ‘{“lastLogin”#=’
UserService -> handleOpenURL: ERROR = Error Domain=NSCocoaErrorDomain Code=3840 “No value for key in object around character 12.” UserInfo={NSDebugDescription=No value for key in object around character 12.}
Hello,
does it happen on device or simulator?
Device! And now I can’t login more with facebook… error “The URL can’t be shown”.
We have fixed this issue on the server side, you can try again