Hi everyone I am getting this error when trying to...
# prefect-server
t
Hi everyone I am getting this error when trying to register a flow in the cloud
Copy code
prefect.exceptions.AuthorizationError: Malformed response received from Cloud - please ensure that you are authenticated. See `prefect auth login --help
It also says it is a json error , after inspecting, the response gotten from the requests library is a huge html and not a json. My current config.toml file has worked for previous registrations in other projects. Does this sound familiar?
1
k
I think this error is really an API token thing. Is your api token expired? You could try:
Copy code
prefect auth logout
and logging back in. Maybe you are stuck between two tenants?
a
what's your prefect version? You may upgrade to the latest + recreate API key to ensure your API key and Prefect version are compatible
t
Thank you I had to log out before.
👍 1