https://prefect.io logo
Title
z

Zachary Loertscher

04/19/2023, 6:52 PM
Hey all - I'm getting a 500 response when my prefect agent tries to hit the
<https://api.prefect.cloud/api/accounts/><>/workspace[…]2d2/task_runs/<>/set_state
endpoint. It kicks off the flow just fine (airbyte connection) but quickly runs into this error:
self._records_synced = job_info["attempts"][-1]["attempt"].get(
IndexError: list index out of range
Any ideas? Version info: • Running on an EC2 (also get the error locally), hitting Airbyte version 0.36.2-alpha
>prefect version
Version:             2.8.7
API version:         0.8.4
Python version:      3.8.16
1
It's looking like it may be an airbyte version issue? It works fine when I target the 0.42.0 airbyte version
c

Chris White

04/19/2023, 9:15 PM
The 500 response is unrelated to
IndexError
(it's still an issue that you saw a 500, but that shouldn't happen again). The
IndexError
, on the other hand, does seem to be an issue with the response you got from the airbyte API -- for some reason you got an empty list in the 0.36.2-alpha