Hi, I have a long running flow in AWS ECS task and...
# ask-community
p
Hi, I have a long running flow in AWS ECS task and encounter 401 error after 24 hours. It is consistent to get same error after 24 hours when I rerun the flow. Please help. prefect.exceptions.PrefectHTTPStatusError: Client error '401 Unauthorized' for url 'https://api.prefect.cloud/api/accounts/5bbdb68f-bf28-4759-93a6-7a072ba10c79/workspaces/c9c1cbbc-2cc1-46ed-81c4-ab2d7b1c44d8/flow_runs/867fe123-b7ec-4739-b603-1f5b928e30e8/set_state'
Seems authenticating back to prefect cloud fail after 24 hours, any clue? This is Prefect 2.20