react-native-aws3
react-native-aws3 copied to clipboard
403 Error - Missing IAM User?
Hello there,
First of all, thank you and good job.
I want to access my android gallery and choose a picture for my avatar, upload it from my phone to my bucket. At first, I used the AWSSDK.Core and AWSSDK.S3 for .NET and succeeded, only not being able to identify the real file path since .NET is my server (probably would have to get the byte64 data of the picture and then stream it before sending to the bucket).
With this solution I was able to upload some pictures and then suddenly it stopped with the 403 Error, that I assume Amazon blocked because here I am missing the
Any thoughts?
I recently stuck with the 403 Error as well. However, I changed the IAM policy for the user and set action to this following.
"Action": [
"s3:GetObject",
"s3:GetObjectAcl",
"s3:GetObjectVersion",
"s3:PutObject",
"s3:PutObjectAcl",
"s3:PutObjectVersionAcl"
]
Hope this help.
getting 403 even after setting action as suggested