Thread
#prefect-community
    Jason Prado

    Jason Prado

    1 year ago
    I have a flow that invokes a set of other flows, including the same flow twice with different parameters. I’m seeing an error consistently where only one of the invocations success and the other fails (and then disappears from the schematic). Error:
    Failed to retrieve task state with error: ClientError([{'path': ['get_or_create_task_run_info'], 'message': 'Expected type UUID!, found ""; Could not parse UUID:
    The two invocations:
    flow_sync_payments_spreadsheet_previous = StartFlowRun(flow_name="Sync trips to payments spreadsheet", project_name="Drivers", parameters={"Target Week": "previous"}, wait=True)
    
    flow_sync_payments_spreadsheet_current = StartFlowRun(flow_name="Sync trips to payments spreadsheet", project_name="Drivers", parameters={"Target Week": "current"}, wait=True)
    The second invocation seems to have disappeared / never been created. When I look at history for the flow, it only shows the first. I just tried making the second one depend on the first as an upstream task, and it succeeded locally. I’ll see if it succeeds in KubernetesAgent. But they don’t actually depend on each other, so I wonder if there’s an issue running two of the same flow with
    StartFlowRun
    ?
    Kevin Kho

    Kevin Kho

    1 year ago
    Hey @Jason Prado, Could you try giving the two
    StartFlowRun
    calls different idempotency keys and see if the second one triggers?