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.

asked 2 years ago226 views
3 Answers
0
Accepted Answer

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
answered 2 years ago
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
answered 2 years ago
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

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions