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
... 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
configured to use my Server but since I'm not using the Cloud, I'm not sure about the
or API key

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

Devin Flake

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