Hi <#CM28LL405|prefect-cloud>, I am trying to depl...
# prefect-cloud
a
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.
Copy code
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the PutObject operation: Access Denied
āœ… 1
b
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
This solved it for me. Thanks šŸ˜Š
šŸš€ 1
āœØ 1