https://prefect.io logo
#prefect-community
Title
# prefect-community
n

Nathaniel Russell

09/06/2022, 8:11 PM
Copy code
Error downloading Flow from S3: An error occurred (AccessDenied) when calling the GetObject operation: Access Denied
I keep getting this error when flows are supposed to download their definitions from storage. I have both a prefect user and prefect role specified in the bucket's policy.
1
a

Anna Geller

09/06/2022, 8:54 PM
you would need to create S3 block with explicit access keys e.g.
Copy code
s3 = S3(
    bucket_path="prefect-orion/prod",
    aws_access_key_id="xxx",
    aws_secret_access_key="xxx",
)
s3.save("prod")
n

Nathaniel Russell

09/06/2022, 9:00 PM
sorry, this is a prefect 1.0 system
a

Anna Geller

09/06/2022, 9:48 PM
in that case it'S most likely an issue of missing permissions on your execution layer
3 Views