https://prefect.io logo
Title
d

Daniel Ross

04/12/2022, 9:31 PM
Hi Prefect Community! I have encountered an issue where when I run a 'flow of flows' the parent flow fails with the following error:
Error during execution of task: ValueError('You have not set an API key for authentication.')
This only happens when I use the DaskExecutor. (Notably the child flows succeed.) However, if I specify a LocalExecutor everything is fine. I assumed that the container where the flow is being executed was not able to reach the server, but I can see the PREFECT__CLOUD__API set properly (to the GraphQL port on the Prefect Server) in the ECS task, and the PREFECT__BACKEND is set to "server". Any ideas on what could be causing this problem?
a

Anna Geller

04/12/2022, 9:39 PM
what version are you using? in the latest release 1.2 we merged a fix related to API keys
d

Daniel Ross

04/12/2022, 9:41 PM
0.15.13. I can upgrade to test. Thanks!
👍 1