https://prefect.io logo
k

Kun Situ

10/10/2022, 2:41 PM
I have been running agent with prefect 2.0 cloud, but my agent always raise exception after roughly 2 days. Here is the error message:
raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Client error '403 Forbidden' for url
Does anyone know how I can fix it, any help would be much appreciated!
1
a

Anna Geller

10/10/2022, 4:05 PM
this could happen if your API key expired - could you try creating a new API key and restarting your agent?
k

Kun Situ

10/10/2022, 5:34 PM
Thanks, I will give it a go
👍 1