https://meltano.com/ logo
#announcements
Title
# announcements
g

great-sugar-5344

01/28/2021, 9:16 AM
Hi, I'm struggling with setting up tap-bigquery with meltano docker. I think I'm almost there, but I'm getting "ELT could not be completed: Cannot start extractor: Catalog discovery failed: invalid catalog: Expecting value: line 1 column 1*".* What I've found when searching for the error is this: https://github.com/anelendata/tap-bigquery Step 2 says "Create catalog" with this command:
Copy code
tap-bigquery -c tap_config.json -d > catalog.json
I have no idea though how to translate this to my docker container commands...
Ok, I've found out about the "invoke" command. Unfortunately this doesn't generate a catalog file it seems...
I'm really lost, I tried changing the api connection, using a service account instead, but with no luck
r

ripe-musician-59933

01/28/2021, 3:57 PM
Hi @great-sugar-5344! Let's see if I can help you figure things out.
Have you been using the docs at https://meltano.com/plugins/extractors/bigquery.html? Those are Meltano-specific, as opposed to the README at https://github.com/anelendata/tap-bigquery which assumes you're running the tap executable by itself without the help of a runner. Creating the catalog manually is not necessary with Meltano, for example: https://meltano.com/docs/integration.html#extractor-catalog-generation
As for the
Catalog discovery failed: invalid catalog: Expecting value: line 1 column 1
error, you can get
meltano elt
to print some additional debugging information when you run it in debugging mode using
meltano --log-level=debug elt
: https://meltano.com/docs/command-line-interface.html#debugging Can you share the error stacktrace that you'll see with that command?