Common causes for uploads failures in the browser
These are some of common causes and solutions for upload failures in the browser when using filespin.min.js as detailed here https://docs.filespin.io/#file-picker-web-widget
Upload failed because:
- There is no internet!
- You loaded the html file using file:// protocol in the web browser by opening via your file system instead of http://
- You provided incorrect uploadKey when initialising the Picker
- 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.
- Place the index.html containing the picker embed code in a folder and start a web server from within that folder using python
- Change to the folder above and from command line, run: python -m http.server
- Visit http://localhost:8000