Skip to main content

Common Causes for Upload Failures in the Browser

Troubleshoot upload failures in the browser when using the FileSpin File Picker.

These are some of common causes and solutions for upload failures in the browser when using File Picker.

Upload failed because:

  1. There is no internet!
  2. You loaded the html file using file:// protocol in the web browser by opening via your file system instead of http://
  3. You provided incorrect uploadKey when initialising the Picker
  4. Your account settings do not allow uploads from the domain you are uploading from

Developer Tip:

To test uploads from your computer, you must load the picker via http protocol in a browser. Here's how you can do that if you have python installed in your computer.

  1. Place the index.html containing the picker embed code in a folder
  2. Open a terminal window and change to the folder above
  3. Run python -m http.server
  4. Visit http://localhost:8000/index.html