Max
10/30/2020, 6:17 PMpostgres, towel, hasura, graphql, apollo, ui
), but from the logs it appears that something is wrong with either hasura or graphsql (the logs are in the thread).
What could be the issue? How does one even debug this kind of errors?$ kubectl logs towel-7cbcb75c49-w242j
{"severity": "ERROR", "name": "prefect-server.ZombieKiller", "message": "Unexpected error: ValueError([{'extensions': {'path': '$.selectionSet.task_run', 'code': 'validation-failed'}, 'message': 'field \"task_run\" not found in type: \\'query_root\\''}])"}
$ kubectl logs hasura-58bf695f95-qnwpp
{"type":"http-log","timestamp":"2020-10-30T18:14:36.200+0000","level":"error","detail":{"operation":{"user_vars":{"x-hasura-role":"admin"},"error":{"path":"$.selectionSet.task_run","error":"field \"task_run\" not found in type: 'query_root'","code":"validation-failed"},"request_id":"5126b8cc-d17f-4833-b9b7-5ecdcf56c9de","response_size":122,"query":{"variables":{},"query":"query {\n task_run(where: { state: { _eq: \"Running\" }, heartbeat: { _lte: \"2020-10-30T18:04:36.189977+00:00\" }, task: { flow: { flow_group: { _not: { settings: { _contains: { heartbeat_enabled: false } } } } } } }, order_by: { updated: desc }, limit: 5000) {\n id\n flow_run_id\n tenant_id\n flow_run {\n state\n }\n task {\n retry_delay\n max_retries\n }\n retry_count: states_aggregate(where: { state: { _eq: \"Retrying\" } }) {\n aggregate {\n count\n }\n }\n }\n}"}},"http_info":{"status":400,"http_version":"HTTP/1.1","url":"/v1alpha1/graphql","ip":"192.168.188.166","method":"POST","content_encoding":null}}}
Dylan
10/30/2020, 6:32 PMMax
10/30/2020, 6:39 PMDylan
10/30/2020, 6:40 PMMax
11/01/2020, 2:24 PMSagun Garg
02/04/2021, 5:32 PM