Unable to List AWS Buckets

I have followed the tutorial below, but I receive an error when trying to list my AWS S3 buckets.

Here is a screenshot of my set up:

And here is the localhost error:

{"code":0,"file":"\/var\/www\/html\/dmxConnectLib\/aws\/Aws\/WrappedHttpHandler.php","line":195,"message":"Error executing \"ListBuckets\" on \"https:\/\/s3.ap-southeast-2.amazonaws.com\/\"; AWS HTTP error: Client error: `GET https:\/\/s3.ap-southeast-2.amazonaws.com\/` resulted in a `403 Forbidden` response:\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>AccessDenied<\/Code><Message>Access Denied<\/Message><RequestId>9TYQZX (truncated...)\n AccessDenied (client): Access Denied - <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>AccessDenied<\/Code><Message>Access Denied<\/Message><RequestId>9TYQZX69AZY5ZB7Q<\/RequestId><HostId>NBkU4brcjoDKE8ip7Z3VbghsqxxdXAnO0ak0Uyy5iDmJG3\/WgsU+wj6QS9KYoxhhL3qKcoD7lDw=<\/HostId><\/Error>","trace":"#0 \/var\/www\/html\/dmxConnectLib\/aws\/Aws\/WrappedHttpHandler.php(97): Aws\\WrappedHttpHandler->parseError(Array, Object(GuzzleHttp\\Psr7\\Request), Object(Aws\\Command), Array)\n#1 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/Promise.php(203): Aws\\WrappedHttpHandler->Aws\\{closure}(Array)\n#2 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/Promise.php(174): GuzzleHttp\\Promise\\Promise::callHandler(2, Array, Array)\n#3 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/RejectedPromise.php(40): GuzzleHttp\\Promise\\Promise::GuzzleHttp\\Promise\\{closure}(Array)\n#4 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/TaskQueue.php(47): GuzzleHttp\\Promise\\RejectedPromise::GuzzleHttp\\Promise\\{closure}()\n#5 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Handler\/CurlMultiHandler.php(118): GuzzleHttp\\Promise\\TaskQueue->run()\n#6 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Handler\/CurlMultiHandler.php(145): GuzzleHttp\\Handler\\CurlMultiHandler->tick()\n#7 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/Promise.php(246): GuzzleHttp\\Handler\\CurlMultiHandler->execute(true)\n#8 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/Promise.php(223): GuzzleHttp\\Promise\\Promise->invokeWaitFn()\n#9 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/Promise.php(267): GuzzleHttp\\Promise\\Promise->waitIfPending()\n#10 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/Promise.php(225): GuzzleHttp\\Promise\\Promise->invokeWaitList()\n#11 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/Promise.php(267): GuzzleHttp\\Promise\\Promise->waitIfPending()\n#12 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/Promise.php(225): GuzzleHttp\\Promise\\Promise->invokeWaitList()\n#13 \/var\/www\/html\/dmxConnectLib\/aws\/GuzzleHttp\/Promise\/Promise.php(62): GuzzleHttp\\Promise\\Promise->waitIfPending()\n#14 \/var\/www\/html\/dmxConnectLib\/aws\/Aws\/AwsClientTrait.php(58): GuzzleHttp\\Promise\\Promise->wait()\n#15 \/var\/www\/html\/dmxConnectLib\/aws\/Aws\/AwsClientTrait.php(86): Aws\\AwsClient->execute(Object(Aws\\Command))\n#16 \/var\/www\/html\/dmxConnectLib\/modules\/s3.php(80): Aws\\AwsClient->__call('listBuckets', Array)\n#17 \/var\/www\/html\/dmxConnectLib\/lib\/App.php(195): modules\\s3->listBuckets(Object(stdClass), 'listFiles')\n#18 \/var\/www\/html\/dmxConnectLib\/lib\/App.php(127): lib\\App->execSteps(Object(stdClass))\n#19 \/var\/www\/html\/dmxConnectLib\/lib\/App.php(94): lib\\App->exec(Object(stdClass))\n#20 \/var\/www\/html\/dmxConnect\/api\/aws\/bucket.php(8): lib\\App->define(Object(stdClass))\n#21 {main}"}

I can’t find much information on what this error means. Can anyone suggest what I might be doing wrong? As far as I can tell my bucket has been set up correctly with fully public settings (for testing purposes.)

Community Page
Last updated: