Anonymous
Not applicable

Sometimes it happens, sometimes it does not. The api is:

/api/2.1/jobs/runs/list

Assuming INTERNAL_ERROR as TERMINATED state seems to be the a good workaround.

This is my solution so far...

if life_cycle_state.upper() not in ("TERMINATED", "SKIPPED", "INTERNAL_ERROR"):

View solution in original post