Hello everyone! I'm currently upgrading to the new...
# prefect-community
k
Hello everyone! I'm currently upgrading to the newest prefect version (from 0.15.3 - server 2021.04.06) and while re-registering my flows I'm getting a GraphQL Error: validation failed - expected one of the values edge_pkey for type „edge_constraint“, but found „“edge_flow_id_task_ids_key“. It only appears when I use a Parameter and use the returned value in a task. Registering a simple flow or even one of my old flows with the parameters disabled works just fine.
a
As a general rule, the Prefect version used by your agents and flows must be <= Server version, otherwise your flows may be hitting some API endpoints that don’t (yet) exist in your Server backend API. The latest release introduced Hasura 2.0 which may be the reason for your error. Having said that, I would suggest to either: • first upgrade your Server and only then upgrade your agents and flows • or don’t upgrade your agents and flows and keep those in a Prefect <= Server version
k
I updated both, Server and Agent. I'm currently running Server/Apollo: 2022.01.12, Hasura: v2.0.9 and Agent 0.15.12. Those seemed to be the newest ones.
a
in that case would you be willing to open a Github issue in the Server repo specifying what version did you use (best to also include the output of the “prefect diagnostics” command) and what error exactly did you get and give an example flow that causes such error?
k
Yeah sure. I've just created it. Thanks!