How can I resolve a 403 Error on the Prefect Cloud...
# ask-community
r
How can I resolve a 403 Error on the Prefect Cloud API? I'm trying to start the prefect agent on the Cloud from our Prefect Runner, but I get the following response. By the way, I upgraded my Prefect package to the latest version. raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.cause prefect.exceptions.PrefectHTTPStatusError: Client error '403 Forbidden' for url 'https://api.prefect.cloud/api/accounts/
b
Hey Robert! I'd recommend checking your API key to see if it expired. Could you try creating a new API key and using it to authenticate to your account through the CLI?
r
Hi Bianca, I rotated the key, just before I upgraded the package. But, it didn't help. However, I can rotate the key to see if I get a different answer.