https://prefect.io logo
Title
d

Devin Flake

03/04/2022, 6:00 PM
Hi - I'm using Prefect Server and I'm trying to register a flow into a project but I'm getting the following error:
prefect register --project "Tests" --path hello_world.py
... lots of output ...
prefect.exceptions.AuthorizationError: Malformed response received from Cloud - please ensure that you are authenticated. See `prefect auth login --help`.
I have my
.prefect/config.toml
configured to use my Server but since I'm not using the Cloud, I'm not sure about the
auth
or API key
k

Kevin Kho

03/04/2022, 6:02 PM
It seems like your registration is pointing to Cloud? Do
prefect backend server
and maybe
prefect auth logout
so that you dont have any lingering keys
d

Devin Flake

03/04/2022, 6:03 PM
ah -
prefect backend server
seemed to do it - thanks!