You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a class called Image, which has image property of PFFile type. When I'm trying to create a new object by calling saveInBackground method, the server returns this 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.}
error.localizedDescription:
The data couldn’t be read because it isn’t in the correct format.
Save operations on other classes work fine. The server log doesn't even show that there is POST request to Image class.
Any ideas what's wrong?
Environment Setup
Parse SDK version: 1.13.0
Bolts: 1.7.0
Server
parse-server version: 2.2.14.
parse-dashboard version: 1.0.14
Operating System: Ubuntu 10.14
The text was updated successfully, but these errors were encountered:
How come you were successfully saving other Classes, but that one was failing. And it turned out to be the serverURL ?
I have the same issue, but my URLs are fine.
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
I have a class called
Image
, which hasimage
property ofPFFile
type. When I'm trying to create a new object by callingsaveInBackground
method, the server returns this error:error.localizedDescription
:Save operations on other classes work fine. The server log doesn't even show that there is POST request to
Image
class.Any ideas what's wrong?
Environment Setup
Parse SDK version: 1.13.0
Bolts: 1.7.0
The text was updated successfully, but these errors were encountered: