Chris Goddard
09/10/2020, 7:05 PMflow.run()
). The problem is, after a period of time, I start getting a persistent error - prefect.utilities.exceptions.ClientError: Malformed response received from Cloud - please ensure that you have an API token properly configured
.
I'm a little confused because I though if you were just calling flow.run()
I wouldn't be interacting with the cloud API at all but clearly because it's in the same environment it's detecting the connection but then perhaps a token is becoming invalid or something? Any ideas?Dylan
09/10/2020, 7:43 PMflow.run
for your local scripts?prefect login
to login to your Prefect Cloud tenantChris Goddard
09/10/2020, 7:47 PMprefect login
periodically?Dylan
09/10/2020, 7:49 PMflow.run
are:
- not making a query via a statehandler or a similar mechanism that talks to cloud
- not using PrefectSecret
s locally by configuring the use_local_secrets
option in your config.toml
[cloud]
auth_token = {your token}
Chris Goddard
09/10/2020, 7:53 PMDylan
09/10/2020, 7:53 PMbackend_info=False
config.toml