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.

demandé il y a 2 ans230 vues
3 réponses
0
Réponse acceptée

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
répondu il y a 2 ans
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
répondu il y a 2 ans
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

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions