Unable to upload files to an online Form
Uploads are fail in the private access mode, whereas in the public access mode there are no issues. So, you can share the public URL with the end users, which works fine. See screenshot below and make sure you Enable public access.