Hello! Yesterday at 13:00 PM we got a flow that ha...
# prefect-cloud
j
Hello! Yesterday at 13:00 PM we got a flow that had a Bad Gateway (502) crash towards the Cloud API. Either way, what would be the best practice to catch these sort of errors and retry the flow automatically? This seems to be low level prefect lib crash, hence not sure where to even start..
Copy code
Feb 27 13:00:05 dataplatform-jp-sandbox python[105783]: httpx.HTTPStatusError: Server error '502 Bad Gateway' for url '<https://api.prefect.cloud/api/accounts/c1397d5f-b9f3-49e8-abb6-bce7d7b1412e/workspaces/32dfe242-315b-4405-b06d-8b6308d6b631/flow_runs/d3f64d7f-acef-46f4-8114-8b1b1824e2c5>'
Full trace in attachment
1
👀 1
G 1
image.png
c
Hi @jpuris - this is a known issue being worked on here - https://github.com/PrefectHQ/prefect/issues/8080
j
Ah! Thanks!! ❤️