https://prefect.io logo
Title
a

ashish karan

11/30/2022, 5:57 PM
Hi #prefect-cloud, I am trying to deploy my flows to S3. Getting this error. Although the s3 user i used to create the block has that permission. I am using the build_from_flow function to deploy, if that makes any difference. Any help would be great, thanks.
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the PutObject operation: Access Denied
āœ… 1
b

Bianca Hoch

11/30/2022, 9:02 PM
Hi Ashish, have you set the credentials within the AWSCredentials block and then passed the credentials block to the S3Bucket block you are using? https://docs.prefect.io/concepts/blocks/?h=s3+block#nested-blocks
āœ… 1
I'll drop some threads to other reports from users who have run into similar errors as well • https://prefect-community.slack.com/archives/C048K0MGHNK/p1669041606446819 • https://prefect-community.slack.com/archives/C048K0MGHNK/p1667990890478769
a

ashish karan

12/01/2022, 9:52 AM
This solved it for me. Thanks 😊
šŸš€ 1
✨ 1