I am currently using Uppy AWS Multipart plugin to upload large file (10MB) from local to AWS S3 bucket.
I am not using companion URL and my code logic is:
- Uppy sends a request to create/initiate the multipart upload.
- Using the data returned from the previous request, Uppy will send a request to generate AWS S3 pre-signed URLs to use for uploading the parts.
- Uppy will then upload the parts using the pre-signed URLs from the previous request.
- Finally, Uppy will send a post request to complete the multipart upload.
I passes stage 1 and 2. I had an upload ID for a multipart upload and pre-signed URLs for each part.
I got “Non 2xx” failed upload error in stage 3 when Uppy tries to upload parts into bucket.
In “Network” tab of Chrome Dev Tool, the error messages are “404 Not Found” and “NoSuchUpload - The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed”.
Hope to get some help soon!