Upload type
needs to be set to Single file upload
, otherwise it will initiate a multipart upload, instead of creating a presigned url and the single file upload won’t work.const file = document.getElementById('fileInput').files[0]
url
that the request is sent to, is the url that you receive in the Create Presigned URL step.