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
Dylan
flow.run for your local scripts?Dylan
Dylan
prefect login to login to your Prefect Cloud tenantDylan
Dylan
Chris Goddard
09/10/2020, 7:47 PMprefect login periodically?Dylan
flow.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.tomlDylan
Dylan
Dylan
[cloud]
auth_token = {your token}Dylan
Chris Goddard
09/10/2020, 7:53 PMDylan
Dylan
backend_info=FalseDylan
config.toml