簽署了用戶的解析服務器,當應用程序試圖註冊一個用戶,它不工作,並返回錯誤:錯誤iOS上
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.}".
我已經做了研究和couldn」 t找到與Parse
相關的任何內容。
Parse SDK: 1.12.0
代碼:
user.signUpInBackgroundWithBlock { (succeeded: Bool, error: NSError?) -> Void in
if let error = error {
print(error.description)
} else {
self.performSegueWithIdentifier("signup_signin", sender: nil)
}
}
JSON of what gets returned when using the REST API
發佈構建請求的代碼 – RaffAl
@Bearwithme剛剛添加了代碼 – TechSd