Closed
Description
Hello everyone! I am unable to save an object in cloud code . I arrive in the method, but every time I save is return "code : 141 - unauthorized " . Are there any special permission to cloud code in parse server?
my code:
Parse.Cloud.define("invite", function(request, response) {
var invite= new Parse.Object("Invite");
invite.set("phone", request.params.phonenumber);
invite.save(null, {
success: function(newInvite) {
response.success("SMS sent!");
},
error: function(user, error) {
response.error("Error: " + error.code + " " + error.message);
}
});
});
Metadata
Metadata
Assignees
Labels
No labels