I changed to the new api key for cloud but i get t...
# prefect-server
t
I changed to the new api key for cloud but i get this error when registering the flows
Copy code
prefect.utilities.exceptions.ClientError: Malformed response received from Cloud - please ensure that you have an API token properly configured.
c
Hi Tomas - that error occurs whenever a request is sent that doesn't contain any authorization information, so you may have misconfigured something?
t
thanks i fixed it i had
Copy code
[cloud.agent]
auth_token = 'blalba'
then to fix it i had to add
Copy code
[cloud.agent]
auth_token = 'blalba'

[cloud]
auth_token = 'blalba'
weird
maybe i missed something
c
the cloud auth token is meant for keys that represent you as a user (e.g. if you use the CLI or are registering flows); the cloud.agent token is for any agent that is run on that machine -- in many situations these have different permissions
t
aaa excellent to know, thank you Chris!!
c
anytime! glad to help