Maura Drabik
10/28/2020, 6:22 PMscm_validation.register(
project_name="SCM Validation",
build=True
)
it failed with this error message:
prefect.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\''}}}]
josh
10/28/2020, 6:32 PMMaura Drabik
10/28/2020, 6:44 PMjosh
10/28/2020, 6:54 PMUSER
) then you should use that with the command prefect auth login
before attempting to register a flow. If you are setting the token manually either through a Client or a config variable then you will need to make sure the token is scoped to a tenant.
More info on token types here 🙂Maura Drabik
10/30/2020, 4:45 PMprefect auth login
and it said Auth token already present in config. Aborted!
I see on the UI that my token was last used when I tried to register the flow, but still received the error above.josh
10/30/2020, 4:45 PMprefect diagnostics
and send the output?Maura Drabik
10/30/2020, 4:50 PM{
"config_overrides": {
"cloud": {
"auth_token": true,
"use_local_secrets": true
},
"context": {
"secrets": false
}
},
"env_vars": [],
"system_information": {
"platform": "Windows-10-10.0.18362-SP0",
"prefect_version": "0.12.3",
"python_version": "3.6.6"
}
}
josh
10/30/2020, 4:50 PM~/.prefect/config.toml
which will override other tokens. Remove that token then attempt to login againMaura Drabik
10/30/2020, 4:56 PM