Denied access to JSON file

0

Hello,

New to this so I hope this isn't a completely silly question, but I have set up an S3 bucket connected to a Cloudfront distribution in order to feed a Roku Channel. The bucket permissions block public access and only allow the Cloudfront distribution access. I can access the video content no problem through the web browser using the cloudfront end point. However, when I attempt to access the JSON feed file with the browser, I get an access denied response. I am confused, should the JSON file be accessible if the video files are accessible? What have I done wrong?

  • How are you accessing JSON feed file, through cloudfront or using object s3 url in browser?

  • I am using the cloudfront. This is the funny thing. It wasn't working all morning, then I tried again a few seconds ago and I was able to access it, but when I tried using the same cloudfront url a few seconds later, I got an access denied message again. Very confused.

  • Okay, now it's accessing it with no issue. Still very confused. Not sure what happened.

  • I just provided you a document link, which you can refer if you face this issue again. It has variety of scenarios.

1개 답변
0

I'd suggest you to look at this Knowledge Center Article if you face this issue again.

profile pictureAWS
전문가
답변함 일 년 전

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

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

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

관련 콘텐츠