Hi guys, I have been using prefect 2.0 for a while for my multiple project and I have come across this error often
Copy code
raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Client error '403 Forbidden' for url '<https://api.prefect.cloud/api/accounts/xxxxxx>
return asynclib.run(func, *args, **backend_options)
Usually re - running the agent works fine but given the sensitive nature of my prjects, I would like to avoid this in future, hence i am trying to understand why is this happening
👀 1
Khyaati Jindal
10/25/2022, 5:25 AM
Little background about the project that i am trying to run,
I am using prefect 2.0
I have the deployments deployed on the cloud.
And my agent runs the queue every 1 hr
j
Jake Kaplan
10/25/2022, 4:12 PM
Hi @Khyaati Jindal, would you be able to send me your account_id and workspace_id so I can look into this more? feel free to DM it if you're more comfortable!
Additionally are you saying your
PREFECT_AGENT_QUERY_INTERVAL
is set to an hour? If so, if you change back to a more frequent interval (default is 5 seconds) and put your deployment on an hourly schedule you should be able to avoid any disruption due to a transient failure
k
Khyaati Jindal
10/26/2022, 5:40 AM
No I meant the deployment is scheduled on hourly basis
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.