Michael Terry
07/16/2021, 1:41 PMfield "key_value" not found in type: "query_root"
. But my query works in the interactive API console. (I'm using cloud prefect) Have folks seen this error before?Michael Terry
07/16/2021, 1:41 PMprefect.exceptions.ClientError: [{'path': ['key_value'], 'message': 'field "key_value" not found in type: \'query_root\'', 'extensions': {'path': '$.selectionSet.key_value', 'code': 'validation-failed', 'exception': {'message': 'field "key_value" not found in type: \'query_root\''}}}]
Michael Terry
07/16/2021, 1:42 PMquery {
key_value (where: {key: {_eq: "foo-bar-key"}}) {
value
}
}
Kevin Kho
Michael Terry
07/16/2021, 1:49 PMprefect.backend.get_key_value(key='foo-bar-key')
and erroring out when making the graphql call under the coversKevin Kho
Kevin Kho
Michael Terry
07/16/2021, 2:09 PMMichael Terry
07/16/2021, 2:23 PMprefect auth login --key xxx
- they believe the flow is running with a fresh keyMichael Terry
07/16/2021, 2:24 PMKevin Kho
prefect kv get foo-bar-key
in the CLI? I assume this would error out in the same way. Just confirming you’re on Cloud also?Michael Terry
07/16/2021, 2:27 PMKevin Kho
Michael Terry
07/16/2021, 2:34 PMMichael Terry
07/16/2021, 4:10 PMMichael Terry
07/20/2021, 1:05 PMKevin Kho
Eldho Suresh
08/02/2021, 5:26 AMEldho Suresh
08/02/2021, 7:04 AMKevin Kho
Eldho Suresh
08/02/2021, 2:06 PMKevin Kho
prefect kv get
and prefect kv set
work but using it in the script does not?Eldho Suresh
08/02/2021, 2:12 PMget_key_value(key=key)
& set_key_value(key=key, value=val)
is giving the error field "key_value" not found in type: "query_root"
Kevin Kho
prefect auth login --key ….
with the new service account key?Kevin Kho
Kevin Kho
prefect diagnostics
?Kevin Kho
Eldho Suresh
08/02/2021, 11:22 PMEldho Suresh
08/02/2021, 11:22 PMKevin Kho
Eldho Suresh
08/03/2021, 12:06 AMEldho Suresh
08/03/2021, 11:56 PMKevin Kho