Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Bucket Headers giving 403 error #76

Open
iit2011081 opened this issue Aug 10, 2016 · 0 comments
Open

Bucket Headers giving 403 error #76

iit2011081 opened this issue Aug 10, 2016 · 0 comments

Comments

@iit2011081
Copy link

I am trying to retrieve all the content from s3 bucket but is throwing 403 status code.
$s3 = new AmazonS3(array('key' => AWS_S3_KEY, 'secret' => AWS_S3_SECRET));
$options = array('prefix' => $bucket_path); // In this case $bucket_path = '';
$bucket = $s3->get_bucket_headers($bucket_name, $options);

but $bucket->status is showing 403.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant