简体   繁体   中英

Why does my single part MP3 file fail to upload to AWS S3 due to an InvalidPart multipart file upload error?

I have a 121MB MP3 file I am trying to upload to my AWS S3 so I can process it via Amazon Transcribe.

The MP3 file comes from an MP4 file I stripped the audio from using FFmpeg.

When I try to upload the MP3, using the S3 object upload UI in the AWS console, I receive the below error:

InvalidPart

One or more of the specified parts could not be found. the part may not have been uploaded, or the specified entity tag may not match the part's entity tag

The error makes reference to the MP3 being a multipart file and how the "next" part is missing but it's not a multipart file.

I have re-run the MP4 file through FFmpeg 3 times in case the 1st file was corrupt, but that has not fixed anything.

I have searched a lot on Stackoverflow and have not found a similar case where anyone has uploaded a single 5MB+ file that has received the error I am.

I've also crossed out FFmpeg being the issue by saving the audio using VLC as an MP3 file but receive the exact same error.

What is the issue?

Here's the console in case it helps:

在此处输入图像描述

121MB is below the 160 GB S3 console single object upload limit , the 5GB single object upload limit using the REST API / AWS SDKs as well as the 5TB limit on multipart file upload so I really can't see the issue.

Considering the file exists & you have a stable inte.net-connected (no corrupted uploads), you may have incomplete multipart upload parts in your bucket somehow which may be conflicting with the upload for whatever reason so either follow this guide to remove them and try again or try creating a new folder/bucket and re-uploading again.

You may also have a browser caching issue/extension conflict so try incognito (with extensions disabled) or another browser if re-uploading to another bucket/folder doesn't work.

Alternatively, try the AWS CLI s3 cp command or a quick "S3 file upload" application in a supported SDK language to make sure that it's not a console UI issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM