https://prefect.io logo
Title
c

Chris Marchetti [Datateer]

02/28/2022, 11:01 PM
Hello! We were getting an error during a github action that deploys our pipeline:
prefect.exceptions.AuthorizationError: Malformed response received from Cloud - please ensure that you are authenticated. See `prefect auth login --help`.
We changed from using an auth token to api key as a result of the error and are our flows are hanging. Are there changes that need to be made to our agents or to using service accounts? Thanks for the help.
k

Kevin Kho

02/28/2022, 11:03 PM
Hi @Chris Marchetti [Datateer], tokens were deprecated in 1.0 in favor of keys. If you changed to keys already, you should be good. I suspect you might have some image that is still on an older version. Are you using Docker or Kubernetes or something like that?
c

Chris Marchetti [Datateer]

02/28/2022, 11:05 PM
Thanks @Kevin Kho, we are using a github action to build a docker container.
k

Kevin Kho

02/28/2022, 11:07 PM
Yeah I think you have an image that upgraded to 1.0 because it wasn’t pinned but still is using a token or something like that
c

Chris Marchetti [Datateer]

02/28/2022, 11:08 PM
Thanks, I will look into that.
z

Zanie

03/01/2022, 1:24 AM
If you have an agent on <1.0 that authenticates with a token and runs a container >=1.0 your flows won’t be able to contact the API.