跳至內容

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!

已提問 7 年前檢視次數 6万 次
3 個答案
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

已回答 7 年前
專家
已審閱 3 年前
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.

已回答 2 年前
0

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

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。