If I upload an empty file, I encounter an uncaught error. Then, if I attempt to upload the same empty file again, the window becomes unresponsive, requiring a refresh to restore functionality.
I can't even catch the error from the onError event of the insert
That's the error I had :
{
"isClientSafe": true,
"error": 500,
"reason": "[FilesCollection] [insert] Insert method accepts File, not a FileList. You need to provide a real File. File must have .name property, and its size must be larger than zero.",
"message": "[FilesCollection] [insert] Insert method accepts File, not a FileList. You need to provide a real File. File must have .name property, and its size must be larger than zero. [500]",
"errorType": "Meteor.Error"
}
Notes:
I am using ostrio:files@1.14.3 and ostrio:autoform-files@2.3.1
Then I upgraded those packages and the autoform package to latest versions and I have the same error with those verions :
I'm having an issue:
That's the error I had :
{ "isClientSafe": true, "error": 500, "reason": "[FilesCollection] [insert] Insert method accepts File, not a FileList. You need to provide a real File. File must have
.name
property, and its size must be larger than zero.", "message": "[FilesCollection] [insert] Insert method accepts File, not a FileList. You need to provide a real File. File must have.name
property, and its size must be larger than zero. [500]", "errorType": "Meteor.Error" }Notes: I am using ostrio:files@1.14.3 and ostrio:autoform-files@2.3.1
Then I upgraded those packages and the autoform package to latest versions and I have the same error with those verions :