-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS storage upload issue #13409
Comments
Hey, @BalajiSriraman 👋. Can you clarify what size the file is that you're attempting to upload? And what's the total time it's taking to upload the file? |
Hi @cwomack around 9mb .apk file, but issue persists with files of size 300mb too upload is quite quick, have got a 30mbps connection so around 3 sec for 9mb file |
@BalajiSriraman, thank you for the additional context. We'll try to reproduce on our side and see if we can root cause the issue. |
After some more investigation, I got this working after the bucket is configured with the following CORS config. For example: [
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"POST",
"GET",
"HEAD",
"DELETE",
"PUT"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": [
"ETag",
"x-amz-server-side-encryption",
"x-amz-request-id",
"x-amz-id-2"
],
"MaxAgeSeconds": 3000
}
] Maybe this can be an issue of just adding to the docs that when importing a S3 bucket, add the correct config. |
Same issue here, multi-part upload fails with version 6.5.3 with the above error In my case user only has GET https://xxx.s3.xxx.amazonaws.com/upload/xxx.png?uploadId=xxx results in 404
HEAD https://xxx.s3.xxx.amazonaws.com/upload/xxx.png results in 403 Why do we need to execute the above 2 calls? |
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
Storage
Amplify Version
v6
Amplify Categories
storage
Backend
None
Environment information
Describe the bug
trying to upload a APK file to S3 bucket but facing Multipart issue
Expected behavior
Just normal file upload
Reproduction steps
Code
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: