We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
query.first().then(function(data) { var newName = "ABC"; data.set("name", newName); data.save({useMasterKey: true}).then(function(data) { response.success(data); }) })
This fails with the error message
error: Error generating response. ParseError { code: 141, message: ParseError { code: 101, message: 'Object not found.' } } code=141, code=101, message=Object not found.
The same piece of code worked before updating parse-server today morning. Any ideas on how to override values on data without calling data.save() ?
The text was updated successfully, but these errors were encountered:
Found the solution for this. You have to explicitly pass null into save() if you dont have any data to save. What I did was:
null
save()
query.first().then(function(data) { var newName = "ABC"; data.set("name", newName); data.save(null, {useMasterKey: true}).then(function(data) { response.success(data); }) })
Sorry, something went wrong.
No branches or pull requests
This fails with the error message
The same piece of code worked before updating parse-server today morning. Any ideas on how to override values on data without calling data.save() ?
The text was updated successfully, but these errors were encountered: