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!

Nik2019
질문됨 5년 전41044회 조회
2개 답변
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

rtt
답변함 5년 전
profile pictureAWS
전문가
검토됨 10달 전
0

I don't know if i should keep searching or post my own new question. I'm having the same problem. I fount it happening only after some successful use and functioning of my app into S3 simple hosting. I had completed a course on AWS Serverless APIs and Apps. The app worked fine through much testing on my locahost. Then I deployed it to S3, distributed it on CloudFront, and connected a domain I own to Route 53 after requesting validation through the Certificate Manager. I do have some questions about the permissions and policies since my course instructor's S3 management interface was completely different than what I see today. For that reason, I'm not certain that those are properly set.

That being said, while testing the app, all menu links worked as expected, but I discovered that if I was on a child page and refreshed the browser I suddenly got the AccessDenied error message with the "This XML file does not appear to have any style information associated with it" statement. This happens regardless of the browser I try.

I followed the suggestion of downloading an object from the S3 bucket. i did so with no access problem, using the same credentials I used in creating the bucket. Was that supposed to fix this? So, I do have access. That doesn't seem to be the problem. I even unblocked all permissions and made the bucket public to see if that made a difference. It didn't.

Does anyone have some idea what I can do next?

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠