Need help with Python scripting

Dimension

Member
Joined
Jun 26, 2022
Messages
127
Reaction score
230
Points
243
Age
49
Gender
Male
I am using the following
document
in an attempt to make my own Python extension but I running into an issue under the section 'Using Boto3'. It appear that s3.buckets.all() returns nothing from the following code:


import boto3

s3 = boto3.resource('s3')

for bucket in s3.buckets.all():
print(bucket.name)


Has anyone seen this issue before? I have confirmed that my credentials are correct.

Document I am following: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html#configuration