実現したいこと
- This XML file does not appear to have any style information associated with it. The document tree is shown below.を解決させて、コンテンツを表示させる。
前提
会社の年間目標にAWSで検証環境を用意するというものをやっておりまして、そこで発生したエラーになります。
発生している問題・エラーメッセージ
This XML file does not appear to have any style information associated with it. The document tree is shown below.
該当のソースコード
<Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>------------------</RequestId> <HostId>-------------------------</HostId> </Error>
試したこと
S3のバケット作成後、https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/GettingStarted.SimpleDistribution.html
を見ながら、CloudFrontのディストリビューションを作成。
This XML file does not appear to have any style information associated with it. The document tree is shown below.が発生したのでググり、以下のページにヒット。
https://qiita.com/LemonmanNo39/items/b1fe0ba4c00bf9e0d66b
https://stackoverflow.com/questions/71121544/xml-error-this-xml-file-does-not-appear-to-have-any-style-information-associate
補足情報(FW/ツールのバージョンなど)
[構成]
・CloudFront + S3
追記
・Access Deniedが発生しているので、コンテンツをAmazon S3にアップロードし、オブジェクトにアクセス許可を付与がちゃんとできていないかもしれません。

あなたの回答
tips
プレビュー