跳至内容

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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

相关内容