Brett Naul
11/03/2021, 12:48 PMedge_on_conflict
in the prefect
or server
repos
File "/src/util/prefect.py", line 575, in register_flow
flow_id = client.register(flow, project_name, idempotency_key=flow.serialized_hash())
File "/usr/local/lib/python3.9/site-packages/prefect/client/client.py", line 1227, in register
self.graphql(
File "/usr/local/lib/python3.9/site-packages/prefect/client/client.py", line 569, in graphql
raise ClientError(result["errors"])
prefect.exceptions.ClientError: [***'path': ['register_edges'], 'message': '[***\'extensions\': ***\'path\': \'$.variableValues\', \'code\': \'validation-failed\'***, \'message\': "no such type exists in the schema: \'edge_on_conflict\'"***]', 'extensions': ***'code': 'INTERNAL_SERVER_ERROR'***]
Anna Geller
Brett Naul
11/03/2021, 12:55 PMAnna Geller
prefect auth logout
prefect auth login --key XXX
prefect register --project YOUR_PROJECT -p /path/to/flow.py
Brett Naul
11/03/2021, 1:17 PMAnna Geller
Zanie
flow.register
? Is it happening to the same flow each time it fails?Brett Naul
11/03/2021, 3:26 PMregister
call is happening inside another flow also running in cloud, so there's kind of a lot going on. my best guess is that because the succeeding flow is new, something about its state is different from the old one and avoids running into whatever error we're seeingZanie
Brett Naul
11/03/2021, 3:58 PMclient.register(flow)
Zanie
Brett Naul
11/03/2021, 4:16 PMBrett Naul
11/03/2021, 4:37 PMidempotency_key
to make extra sure I was getting a new version of the flow and not an old one...no luck though, same error. I also put a print statement right before the register
call and for the old flow it shows up as a very long API token and the new one as the newer API key. exact same docker image and code path! only the flow is different. very strangeZanie