Hey all, has anyone successfully configured `tap-d...
# plugins-general
g
Hey all, has anyone successfully configured
tap-dbt
to run in Meltano? Specifically, regardless of how I try to set the
account_ids
in
meltano.yml
I always get hit by:
ValueError: JSON value '<account_id>' is not an array
, the tap runs successfully when executed directly with a config file but... in
meltano.yml
I've currently got:
Copy code
config:
  account_ids:
    - "<account_id>"
t
@edgar_ramirez_mondragon can you chime in? Looking at the JSON example it seems like it should just be
Copy code
config:
  account_ids:
    - 12345
does that work?
e
It does have to be an array of strings:
Copy code
- name: tap-dbt
    namespace: tap_dbt
    pip_url: tap-dbt==0.1.1
    executable: tap-dbt
    capabilities:
    - catalog
    - discover
    - state
    settings:
    - name: api_key
      kind: password
    - name: account_ids
      kind: array
    - name: user_agent
    - name: base_url
    config:
      account_ids:
      - "12345"
@gary_james ^ that config works for me
a
Importantly
kind: array
is needed to pass in the right format as @edgar_ramirez_mondragon has above 馃憜
g
馃憣 thanks all! yep, I definitely underestimated the power of the
kind
bit 馃槄 all seems to be groovy now! 馃榿