with a flow run id in the format “c2686800-3c0f-4b67-83b2-f85fa6fd6773”
I’m getting the following:
Copy code
'message': 'invalid input syntax for type uuid: "c2686800-3c0f-4b67-83b2-f85fa6"'
I assume I’m doing something fairly stupid - could someone explain why the UUID is in the wrong format?
b
Ben Muller
06/10/2021, 5:57 AM
random guess here - maybe use an actual uuid type and not a string?
n
nicholas
06/10/2021, 6:15 AM
Hi @Ben Collier - I can't see how you're constructing your variable but something like this should work:
Copy code
In [1]: import prefect
In [2]: id = "c2686800-3c0f-4b67-83b2-f85fa6fd6773"
In [3]: c = prefect.Client()
In [4]: info = c.get_flow_run_info(flow_run_id=id)
b
Ben Collier
06/10/2021, 7:29 AM
Thanks chaps, running it in the cli highlighted the fact that I was storing the damned thing in a field which was too small. Nnng.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.