Daniel Ross
04/12/2022, 9:31 PMError 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?Anna Geller
04/12/2022, 9:39 PMDaniel Ross
04/12/2022, 9:41 PM