You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
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.