Hi, I am running prefect version 1.2.0 (server is hosted by us). I get following error when trying to fetch flows with cli. Also the prefect ui does not display any flows.
Copy code
prefect get flows
Traceback (most recent call last):
...
prefect.exceptions.ClientError: [{'message': 'unexpected null value for type "String"', 'locations': [{'line': 2, 'column': 5}], 'path': ['flow'], 'extensions': {'path': '$.selectionSet.flow.args.where._and[0].project.name._eq', 'code': 'validation-failed', 'exception': {'message': 'unexpected null value for type "String"'}}}]
discourse 1
β 1
k
Kevin Kho
04/26/2022, 1:57 PM
This is likely related to migrations. You can check this to run the migrations manually.
You may also need this environment variable
Kevin Kho
04/26/2022, 1:58 PM
Could you trim the traceback when you get the chance or move it to the thread?
β 1
l
Lauri Makinen
04/26/2022, 2:31 PM
Thanks @Kevin Kho, setting the environment variable worked! I am running (I am running hasura 2.1.1). For what itβs worth, I also initially thought this was a migration issue, then I wiped my DB and it still happened. But anyhow, now it seems work. Thank you very much for getting back to me so quickly with the correct answer π€ π .
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.