Amazon S3 Bucket 404 error


Make a new policy like this one:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Statement1",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::BUCKET NAME/*",
                "arn:aws:s3:::BUCKET NAME"
            ]
        }
    ]
}