Getting error feature https://specs.apollo.dev/connect/v0.1 is for: EXECUTION but is unsupported

I am trying apollo connector (apollographql.com/tutorials/connectors-intro-rest/03-source) and getting this error:

ERROR: could not create router: couldn’t build Query Planner Service: couldn’t instantiate query planner; invalid schema: schema validation errors: one or more checks failed. Caused by:
ERROR: feature specs.apollo.dev/connect/v0.1 is for: EXECUTION but is unsupported
ERROR:
ERROR: GraphQL request:4:3
ERROR: 3 | @link(url: “specs.apollo.dev/join/v0.5”, for: EXECUTION)
ERROR: 4 | @link(url: “specs.apollo.dev/connect/v0.1”, for: EXECUTION)
ERROR: | ^
ERROR: 5 | @join__directive(graphs: [LISTINGS], name: “link”, args: {url: “specs.apollo.dev/connect/v0.1”, import: [“source”, “connect”]})

This is the command i am running: ./rover dev --supergraph-config supergraph.yaml --router-config router-config.yaml

any ideas?

Hello! During the preview, rover dev still uses Router 1.0 by default, which doesn’t support Apollo Connectors. To use Router 2.0, you’ll set an environment variable:

APOLLO_KEY=... \
APOLLO_GRAPH_REF=... \
APOLLO_ROVER_DEV_ROUTER_VERSION=2.0.0-preview.4 \ # THIS
rover dev --supergraph-config supergraph.yaml

This is outlined in our quick start. We’ll be updating the default router version in a future release fo rover. Hope this helps!

(Apologies for the late response, I’m not sure why I only got notified today!)