https://prefect.io logo
Title
n

Nils

01/20/2023, 4:36 PM
I'm using result_storage to store the result of a flow ran with run_deployment in a S3 bucket. However, when I call .state.result(), I get a FileNotFoundError. Does anyone have an idea why this could be happening?
j

James Sopkin

01/23/2023, 3:49 PM
@Nils Is your flow deployed in a container?
n

Nils

01/23/2023, 4:23 PM
Yes!
j

James Sopkin

01/23/2023, 4:28 PM
It's possible that your container does not have access to the file
In my dockerfile I often include a line sort of like `COPY flows/.py /modules/` but another option that was listed out was to bind mount creds for your storage block(aws creds)*