Ilhom Hayot o'g'li
06/27/2022, 4:14 PMKevin Mullins
06/27/2022, 4:37 PMINTERNAL_SERVER_ERROR
, not sure if it’s related:
Failed to retrieve task state with error: ClientError([{'path': ['get_or_create_task_run_info'], 'message': 'Expected type UUID!, found ""; Could not parse UUID: ', 'extensions': {'code': 'INTERNAL_SERVER_ERROR', 'exception': {'message': 'Expected type UUID!, found ""; Could not parse UUID: ', 'locations': [{'line': 2, 'column': 101}], 'path': None}}}])
Traceback (most recent call last):
File "/opt/prefect-runner/pysetup/.venv/lib/python3.9/site-packages/prefect/engine/cloud/task_runner.py", line 154, in initialize_run
task_run_info = self.client.get_task_run_info(
File "/opt/prefect-runner/pysetup/.venv/lib/python3.9/site-packages/prefect/client/client.py", line 1479, in get_task_run_info
result = self.graphql(mutation) # type: Any
File "/opt/prefect-runner/pysetup/.venv/lib/python3.9/site-packages/prefect/client/client.py", line 473, in graphql
raise ClientError(result["errors"])
prefect.exceptions.ClientError: [{'path': ['get_or_create_task_run_info'], 'message': 'Expected type UUID!, found ""; Could not parse UUID: ', 'extensions': {'code': 'INTERNAL_SERVER_ERROR', 'exception': {'message': 'Expected type UUID!, found ""; Could not parse UUID: ', 'locations': [{'line': 2, 'column': 101}], 'path': None}}}]
Mason Menges
06/27/2022, 4:57 PMJames Sopkin
06/27/2022, 5:06 PMIlhom Hayot o'g'li
06/27/2022, 5:28 PMMoreover, from this peace of code, I removed result = LocalResult() part only and pushed it to server
with Flow("warehouse-flow", run_config=UniversalRun(labels=["dim_warehouse"]), result=LocalResult(),
state_handlers=[skip_if_running_handler]) as flow:
Mason Menges
06/27/2022, 6:48 PMIlhom Hayot o'g'li
06/28/2022, 12:16 PMMason Menges
06/28/2022, 6:37 PM