parse-server: Version 2.2.24 and above breaks Parse.File.save() - unauthorized
Hi everyone,
I think the the recent changes in v2.2.24
regarding “Better support for checking application and client keys” have broken the save()
method for saving Parse.Files.
This is very likely related to my other issue #3051, which I think has since been resolved in v2.2.25
.
This code worked in v2.2.23
and below:
//Getting Logo Image from Parse.Cloud.httpRequest
var logoFilename = "logo.png";
var logoFile = new Parse.File(logoFilename, {base64: httpImageFile.buffer.toString('base64')})
//Save logoFile
logoFile.save();
In v2.2.24
and above, I’m now getting unauthorized
, even if I pass save({useMasterKey : true})
. Again, as in #3051, VERBOSE shows nothing.
I pass all keys in constructor of ParseServer - as @steven-supersolid suggested in #3051.
Saving from the iOS client app however still works…
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 38 (12 by maintainers)
Alight! Closing that! And enjoy the beers for us 🍻
We’re talking about saving a
Parse.File
not aParse.Object