- Newest
- Most votes
- Most comments
In order to view objects publically through a browser you have to first make "ACLs enabled" in object ownership which can be found in the permissions tab of the bucket. Once you've done that, go back to the list view of objects, and in the actions dropdown select "Make public using ACL" this will make the selected object public.
Hi
To me it looks like more of an issue with the S3 bucket policy. Please check the the syntax for the bucket policy specified under the permission tab in bucket policy. The error message states, your policy should start with {
Ensure that there are no preceding spaces.
This error message indicates that your bucket policy may not be adhering to the format that the S3 Service is expecting in that space. To resolve this issue, I'd recommend creating a bucket policy statements using the AWS Policy Generator app https://awspolicygen.s3.amazonaws.com/policygen.html . On the AWS Policy Generator page, in Select Type of Policy, make sure you choose S3 Bucket Policy. Once you've created your statements, you can copy the statements from policy generator and paste the same in your S3 Bucket policy console. Alternatively, you can also try to use JSON formatting app ( like JSON Lint) to correct the current policy that's erroring out to look for missing '}'.
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 6 months ago
Could you post the policy you're using?