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
Anna Geller
01/21/2022, 11:34 AM
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
Kamil Gorszczyk
01/21/2022, 11:40 AM
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
Anna Geller
01/21/2022, 11:43 AM
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?
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.