hey everyone! thanks for having this community!
i recently upgraded from prefect 2021.11.30 to 2022.01.25, and when i run
prefect get flow-runs -s
i get:
Copy code
prefect.exceptions.ClientError: [{'message': 'unexpected null value for type "String"', 'locations': [{'line': 2, 'column': 5}], 'path': ['flow_run'], 'extensions': {'path': '$.selectionSet.flow_run.args.where._and[0].flow._and[0].project.name._eq', 'code': 'validation-failed', 'exception': {'message': 'unexpected null value for type "String"'}}}]
any tips on how to get around this?
i do believe that
prefect-server database upgrade
was run post-upgrade
k
Kevin Kho
03/02/2022, 1:39 AM
Yeah I think your gut is right that is looks like the database didn’t upgrade. I would try to upgrade from the GraphQL pod or container.
z
Zanie
03/02/2022, 4:02 AM
I think that error is from the change in null behavior from Hasura v1 -> 2
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.