Common causes for uploads failures in the browser
These are some of common causes and solutions for upload failures in the browser when using File Picker.
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 ofhttp://
- 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 - Open a terminal window and change to the folder above
- Run
python -m http.server
- Visit
http://localhost:8000/index.html
Updated 6 months ago