James Vaughan
11/04/2022, 7:59 PMVersion group 92f0a1ae-7793-41bd-a662-d4cabbe103bf has no unarchived flows
This same error crops up when I use the Flow ID itself.
I'm trying to do this with CURL just to play with the UI and build some code out as I can't just use the python lib due to some restrictions.
Can someone check out the code in the thread and let me know if you have any thoughts here?curl --data '{"query":"mutation($input: createFlowRunInput!) { createFlowRun( input: $input ){ flow_run{ id } } }", "variables": {"input": { "versionGroupId": "92f0a1ae-7793-41bd-a662-d4cabbe103bf", "parameters": "{\"OpportunityID\": \"test\"}" }}}' \
-H 'Authorization: Bearer snip' \
-H 'Content-type: application/json' \
<https://api.prefect.io/>
mutation {
create_flow_run(
input: {flow_id: "25ae197c-035e-468a-a5eb-88d3cfed4222", parameters: "{\"ret_id\": \"test\"}"}
) {
id
}
}
returned:
{
"data": {
"create_flow_run": {
"id": "fd728db3-b3e9-453d-a65c-71b600b08770"
}
}
}
Not sure what's going on here, any ideas?{"errors":[{"path":["createFlowRun"],"message":"Version group 92f0a1ae-7793-41bd-a662-d4cabbe103bf has no unarchived flows.","extensions":{"code":"INTERNAL_SERVER_ERROR"}}],"data":{"createFlowRun":null}}