Ported from platform 5
Marking upload progress as failed if no files parsed to be uploaded, sending error to the user