https://prefect.io logo
Title
l

Lauri Makinen

04/26/2022, 1:23 PM
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.
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
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 🀝 πŸ™ .
πŸ‘ 2
k

Kevin Kho

04/26/2022, 2:39 PM
Of course!