My prefect agent stopped working and is showing: `prefect.exceptions.ClientError: Your Prefect Server instance has no tenants. Create a tenant with `prefect server create-tenant``
When I try to run
prefect server create-tenant --name default --slug default
It seems that the tenant already exists. Do you know what might be the problem?
k
Kevin Kho
03/17/2022, 3:24 PM
Hi @Bruno Nunes, that’s pretty weird. Can you go to the GraphQL API in the UI?
b
Bruno Nunes
03/17/2022, 3:27 PM
Yes, my UI is working well but the agent is not up.
Bruno Nunes
03/17/2022, 3:31 PM
k
Kevin Kho
03/17/2022, 3:31 PM
Can you query for your tenant?
Copy code
query {
tenant{
id
name
}
}
b
Bruno Nunes
03/17/2022, 3:36 PM
The problem was with my config.toml. I was doing some tests with the prefect client installations and it created a new configuration not pointing to the correct graphQL server.
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.