Vera Zabeida

03/23/2023, 2:42 PM
curious to know, I'm hitting an error on my long flow run (its been running around 40mins) that says that my flow was cancelled (TerminationSignal: I didn't cancel it!) wondering if it could be due to hitting an api rate limit. Would I see a 429 error within my Prefect logs if it were because of hitting an api limit on number of logs allowed? I'm on a personal free account.
here's the traceback:
Encountered exception during execution:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/asyncio/", line 190, in run
  File "/usr/local/lib/python3.11/asyncio/", line 118, in run
    return self._loop.run_until_complete(task)
  File "/usr/local/lib/python3.11/asyncio/", line 640, in run_until_complete
  File "/usr/local/lib/python3.11/asyncio/", line 607, in run_forever
  File "/usr/local/lib/python3.11/asyncio/", line 1884, in _run_once
    event_list =
  File "/usr/local/lib/python3.11/", line 468, in select
    fd_event_list = self._selector.poll(timeout, max_ev)
  File "/usr/local/lib/python3.11/site-packages/prefect/", line 1659, in cancel_flow_run
    raise TerminationSignal(signal=signal.SIGTERM)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/prefect/", line 654, in orchestrate_flow_run
    result = await run_sync(flow_call)
  File "/usr/local/lib/python3.11/site-packages/prefect/utilities/", line 165, in run_sync_in_interruptible_worker_thread
    assert result is not NotSet