-
Notifications
You must be signed in to change notification settings - Fork 195
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
Upload failure with error Amplify.StorageError error 7 #3726
Comments
Thanks for submitting the issue. We will investigate further and provide updates here. |
We need more information to proceed with the investigation. Please reopen the ticket and include additional details, such as verbose logs, crash logs, and steps to reproduce the issue. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
@5d : Can you tell me in your SDK when does error 7 is reported, it will help me replicate it. We are seeing lot of random failures, I will switch on the log and try to provide you soon. |
The error code 7 corresponds to |
Is there a way to dump AWS logs into local file , we dont have cloudwatch, Testers are able to reproduce it and will be easy if thats possible. |
You can enable verbose logging to the console by doing this before calling
|
@5d : Yes we can switch on the logs and watch console but we cant dump to a local file. Is there a way to do that ? |
Sorry, the default logging plugin utilizes os_log internally and it does not have an option to redirect the output stream to a file. |
@5d : Isnt there a way to make All AWS logging to be logged in AWS Cloud watch with this configuration:
|
Yes. |
Failure log:
PFA log: Device was in airplane mode, then internet logged in, tried uploading , it fails with this error: |
Hi @Ankish , |
Describe the bug
Upload fails with unexpected message from AWS to log bug.
Amplify.StorageError error 7
Steps To Reproduce
Expected behavior
Should not throw unexpected error
Amplify Framework Version
2.34.1
Amplify Categories
Storage
Dependency manager
Swift PM
Swift version
5.10
CLI version
aws-amplify-cli/2.0
Xcode version
15.3
Relevant log output
Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
iOS 16 & iOS 17
Device
iPhone 13
Specific to simulators
No response
Additional context
The text was updated successfully, but these errors were encountered: