I already ask this question in thread, but didnt get answer. I get this error, when trying to set the api with the --api argument at prefect agent start:
Copy code
line 831, in _verify_token
raise AuthorizationError("No agent API token provided.")
prefect.exceptions.AuthorizationError: No agent API token provided.
a
Anna Geller
12/10/2021, 2:50 PM
I see. Did you change the backend to Server before doing that? could be that otherwise it tries to connect to the cloud API and requiring an API key
upvote 1
Anna Geller
12/10/2021, 2:52 PM
In general, the easiest way to do that would be to modify config.toml on this machine and adding:
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.