David Steiner Sand
03/29/2023, 8:24 PMPending state.
If I cancel the flow run and Retry it, it works fine and gets to the state Completed .
Here is the request I’m doing:
curl -X 'POST' \
'<https://my-prefect-dns/api/deployments/09147238-fe73-488a-8ba5-b545cd648519/create_flow_run>' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{}'
I am doing something wrong?Bianca Hoch
03/30/2023, 5:39 PMPending. Typically that means there was an error with the flow run deployment.David Steiner Sand
03/30/2023, 9:11 PMPending state when I create it from the REST API request. If I create it from the UI it works just fine. Also if I cancel it and retry it, it also works.
Right after I do the curl requests, the agent does not log anything, so looks like the agent does not know about the flow run, therefore it never goes to Running. The agent only logs something when I trigger the flow run from the UI or using the CLI.Bianca Hoch
04/03/2023, 2:56 PMDavid Steiner Sand
04/03/2023, 6:11 PMDavid Steiner Sand
04/03/2023, 6:12 PMDavid Steiner Sand
04/03/2023, 6:16 PMcloud channel in the same day (just saw it in the issue description): https://prefect-community.slack.com/archives/CM28LL405/p1680112687639159