John Grubb
11/18/2020, 10:35 PMJohn Grubb
11/18/2020, 10:37 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\''}}}]
John Grubb
11/18/2020, 10:37 PMnicholas
prefect auth login
?John Grubb
11/18/2020, 10:40 PMAuth token already present in config.
Aborted!
John Grubb
11/18/2020, 10:41 PMPREFECT__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 PMJohn Grubb
11/18/2020, 10:49 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?John Grubb
11/18/2020, 10:51 PMnicholas
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.nicholas
John Grubb
11/18/2020, 10:54 PMJohn Grubb
11/18/2020, 10:56 PMPREFECT__CLOUD__AUTH_TOKEN
env var?nicholas
login
, and agent tokens are similarly limited.nicholas
John Grubb
11/18/2020, 11:02 PM