parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

JSON text did not start with array or object and option to allow fragments not set. (Again)

Open bchapin opened this issue 10 years ago • 1 comments

I just tried a test migration from Parse to Heroku using the Heroku button. Some things work, others do not.

I am getting the error: "JSON text did not start with array or object and option to allow fragments not set." when saving a PFObject. Works perfectly well using Parse api endpoint.

My app is configured using:

[Parse initializeWithConfiguration:[ParseClientConfiguration configurationWithBlock:^(id configuration) { configuration.applicationId = @"xxxx"; configuration.clientKey = @"unused"; configuration.server = @"http://myappname.heroku.com/parse"; }]];

where myappname is the name of my app on Heroku.

bchapin avatar Apr 20 '16 23:04 bchapin

Found the problem. Changed configuration.server to: http://myappname.herokuapp.com/parse Please mark as resolved.

bchapin avatar Apr 21 '16 00:04 bchapin