Error transferring data from GCP to PostgreSQL with CloudQuery

While transferring the data from open source GCP to PostgreSQL, I’m encountering the following error:

failed to get tables for source gcp: failed to call GetTables: rpc error: code = Unimplemented desc = unknown service proto.Source

Has anyone experienced this issue and can provide guidance on how to resolve it?

hi @grateful-amoeba :wave: which versions of the GCP and Postgres plugins are you using, and what version of the CloudQuery CLI? Could you share your config file (with sensitive values redacted)?

kind: destination
spec:
  name: "postgresql"
  path: "cloudquery/postgresql"
  version: "v7.0.1"
  registry: "github"
  spec:
    connection_string: ""
kind: source
spec:
  # Source spec section
  name: "gcp"
  path: "cloudquery/gcp"
  version: "v9.9.1"
  tables: ["*"]
  destinations: ["postgresql"]
  spec:
    project_ids: []

Thnx for the reply I have provided u the details

@grateful-amoeba Which version of the CloudQuery CLI are you using?

cloudquery --version

I tried your config and it worked for me. I would recommend upgrading the CloudQuery CLI, perhaps.

How can I check the CloudQuery version?

@grateful-amoeba If you are running with the CloudQuery CLI, you can run cloudquery --version. If you’re running it in Docker, you can do something like this:

docker run --pull always \
  ghcr.io/cloudquery/cloudquery:latest \
  --version

Ok, thanks! Could you try upgrading the CLI version? The latest version is v3.29.0, and I believe it will be able to handle the protocol now used in the versions of the plugins you’re using.