Tomás Emilio Silva Ebensperger

06/29/2022, 7:40 PM
Hi everyone I am getting this error when trying to register a flow in the cloud
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?

Kevin Kho

06/30/2022, 1:02 AM
I think this error is really an API token thing. Is your api token expired? You could try:
prefect auth logout
and logging back in. Maybe you are stuck between two tenants?

Anna Geller

06/30/2022, 11:58 AM
what's your prefect version? You may upgrade to the latest + recreate API key to ensure your API key and Prefect version are compatible

Tomás Emilio Silva Ebensperger

07/01/2022, 3:58 PM
Thank you I had to log out before.
👍 1