David Prince
11/02/2022, 10:43 PMprefect.exceptions.ClientError: [{'path': ['flow_run', 0, 'id'], 'message': 'Cannot return null for non-nullable field flow_run.id.', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]"
As far as I understand, this is a flow_run record without a flow. I need some assistance with removing this corrupted metadata as our data pipelines are all majorly delayed.Mason Menges
11/02/2022, 11:11 PMmutation setFlowRunStates($input: [set_flow_run_state_input!]!) {
set_flow_run_states(input: {states: $input}) {
states {
id
__typename
}
__typename
}
}
With this input
{
"input": {
"flow_run_id": "fbca6355-a892-4c1c-bee8-1e1655bb718a",
"version": 1,
"state": {
"type": "Cancelled",
"message": "marked task run as Cancelled because \"because\""
}
}
}
Outside of that do you happen to have the Id for the flow you deleted or some of the flow runs? Feel free to DM those to me if you don't want to share them in this threadDavid Prince
11/02/2022, 11:26 PMMason Menges
11/02/2022, 11:32 PMquery{
flow_run(where: {state: {_eq:"Running"}}) {
name
id
state
}
}
David Prince
11/03/2022, 12:49 AM