John Grubb
11/18/2020, 10:35 PMprefect.utilities.exceptions.ClientError: [{'path': ['project'], 'message': 'field "project" not found in type: \'query_root\'', 'extensions': {'path': '$.selectionSet.project', 'code': 'validation-failed', 'exception': {'message': 'field "project" not found in type: \'query_root\''}}}]
nicholas
prefect auth login
?John Grubb
11/18/2020, 10:40 PMAuth token already present in config.
Aborted!
PREFECT__CLOUD__AUTH_TOKEN
env varnicholas
config.toml
if it's set there and then manually passing it to prefect auth login -t <YOUR_TOKEN>
?John Grubb
11/18/2020, 10:47 PM.prefect/client/.../settings.toml
I see my API token as well as an active_tenant_id
Does that need to be set as an env var as well?nicholas
prefect auth login
would normally set that variable, it sees that it's already been manually set (but doesn't check the type), and doesn't perform the login operation.John Grubb
11/18/2020, 10:54 PMPREFECT__CLOUD__AUTH_TOKEN
env var?nicholas
login
, and agent tokens are similarly limited.John Grubb
11/18/2020, 11:02 PM