Hey there, we are seeing 503 errors with Prefect.
# prefect-cloud
i
Hey there, we are seeing 503 errors with Prefect.
j
Hey, your prefect client is connecting to an ephemeral API server not prefect cloud. You're likely not logged in so
PREFECT_API_URL
is not set to cloud the url
i
Correct! Is there some other way to login than the CLI?
@Jake Kaplan
j
Sorry I may be misunderstanding, but assuming you're trying to connect to prefect cloud you can do so with
prefect cloud login
or by setting
PREFECT_API_URL
and
PREFECT_API_KEY
manually
i
Perfect! Thank u!
Hey @Jake Kaplan where do I set the these variables?
e.g
PREFECT_API_URL
and
PREFECT_API_KEY
?
j
you can set them as env vars or you can add them to your prefect profile with e.x.“prefect config set PREFECT_API_URL=…”
i
Amazing thanks Jake