Run the tutorial for opal (https://lifecycle-project.github.io/ds-upload/articles/dsUpload.html) The first du.upload fails because the call is async. It will work if you try again.