-
-
Notifications
You must be signed in to change notification settings - Fork 600
Closed
Description
I've been trying this approach as described in the docs
var fileUploadControl = $("#profilePhotoFileUpload")[0];
if (fileUploadControl.files.length > 0) {
var file = fileUploadControl.files[0];
var name = "photo.jpg";
var parseFile = new Parse.File(name, file);
parseFile.save();
} But when I try to do .save() it throws this error a bunch of times
error: Invalid file upload. code=130, message=Invalid file upload.
This only happens when using File, if I use base64 data it works albeit being slower.
Metadata
Metadata
Assignees
Labels
No labels