Getting the following error. I am trying to create an IAM profile that would only access a specific bucket. Used this policy: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_s3_rw-bucket.html. Worked at first but now getting this error. Wondering if my policy needs more or if there something else up? Any advice?

ErrorException in DimensionBuilder.php line 111: getimagesize(https://prod-er.s3.amazonaws.com/resources/topic_photo.jpg): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden