We have an AWS account where we are using the S3 bucket to store encrypted images (jpgs). This bucket is Public and while we are able to upload all our images to this bucket successfully, 1 out of ~200-300 images we have uploaded/downloaded, always seems to fail to download with the following error:
Error downloading: Optional(“images/xxxxxxx/xxxxxxx.jpg") Error: Error Domain=com.amazonaws.AWSServiceErrorDomain Code=11 "(null)" UserInfo={HostId=xxxxxxx/xxxxxxx=, Message=Access Denied, Code=AccessDenied, RequestId=xxxxxxx}
This image (that fails download) is always uploaded using the same function and parameters as all the others, and downloaded the same way. The only unique thing about this image is that it is a profile photo in our app(android and iOS) and is just used in a different place. Nothing else is different about this image vs. the others that successfully download.
This issue has us confused about what we may be doing incorrectly, if anything at all. I am an AWS beginner.
code formatting
to proper nouns - they are not themselves code. Thanks! – halfer