publicly accessible web site video

0

I have been trying to publish a video(background video) on my website. However, I can't seem to get it publicly accessible. Here is the URL. https://web-site-video.s3.eu-west-2.amazonaws.com/SL-CROSS-NDR-720HD-9999.mp4

  1. Is the name of the bucket - web-site-video
  2. Why am I getting this error message, when the name of the bucket is correct?

Screenshot

Can anyone explain what am I doing wrong, because I am really, really frustrated whit the whole thing. It looks like I need a PHD on computer science in order to make a file publicly available.

已提問 2 年前檢視次數 230 次
3 個答案
0
已接受的答案

Thanks for the screenshot. If you copied the content from the documentation, it looks like there is a blank-space infront of the curly brace of line 1 in the policy. Just delete that blankspace to and try saving the policy i.e. the first character of the policy should be {

Before you correct this, if you expand the arrow infront of 'API Response', you could probably see a message like this --> "Policies must be valid JSON and the first byte must be '{'"

Enter image description here

profile pictureAWS
已回答 2 年前
0

What is the error description/response? Is this error while creating the policy? If so, worth checking the syntax of the policy. Here is an example policy -

https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html#example-bucket-policies-use-case-2

profile pictureAWS
已回答 2 年前
0

Here is the message when I try to create the policy. The error message appears when I try to create the policy. The syntax of the policy shouldn'tEnter image description here be a problem, as I copy and paste the policy and replace the Bucket name with my bucket name. Enter image description here

JSON Ln 13, Col 44

Unknown Error An unexpected error occurred. API response

已回答 2 年前

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

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

回答問題指南