Hi guys, I have been using prefect 2.0 for a while...
# ask-community
k
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
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
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
No I meant the deployment is scheduled on hourly basis