Error Msg: "This XML file does not appear to have any style information.."

0

Has anyone had people get this error message when they try to access a file from your S3 storage?

"This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied<Code>"

If so, how do you fix it?

Thanks for any help!

asked 6 years ago54.2K views
3 Answers
1

Hello

that is the "Access Denied" error message.
If you have access to the object, try downloading it instead of using the url link.

if the object is public or the entire bucket is public, that error will go away BUT everyone would be able to see the object.
https://aws.amazon.com/premiumsupport/knowledge-center/s3-access-denied-error/

hope this helps,
RT

answered 6 years ago
profile pictureAWS
EXPERT
reviewed 2 years ago
0

Has anyone found an answer or solution for this? I am running into this error after creating my S3 bucket, enabling the static hosting, creating my cludfront disto for HTTPS, copying the updated bucket policy the system spit out at the end and prompted me to copy, and pasting it in the bucket permissions. When I try to access from my custom domain I am getting a 403 forbidden error, when I try to access by copying the cloudfront distro domain name and appending the bucket object name at the end I am getting the XML error.

answered 6 months ago
0

This worked for me. S3 -> Make it public. Enable ACL -> Make Content Public.

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions