When uploading a large file, the upload can fail.
The error message is usually "An error occurred while uploading XXX". This is not very helpful, more details would be welcome to understand what happened.