Hi, I am running prefect version 1.2.0 (server is ...
# prefect-server
l
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
This is likely related to migrations. You can check this to run the migrations manually. You may also need this environment variable
Could you trim the traceback when you get the chance or move it to the thread?
βœ… 1
l
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 🀝 πŸ™ .
πŸ‘ 2
k
Of course!