I'm attempting tap-square target-duckdb and I'm ge...
# troubleshooting
c
I'm attempting tap-square target-duckdb and I'm getting a loader exception "Exception: key_properties field is required". Can anyone point me in the right direction of what I'm missing? Thanks!
e
You might need
meltano config target-duckdb set primary_key_required false
(I'm tempted to make
false
the default in the Hub)
🙌 1
c
yes thank you! I think this is an issue because the extractor isn't returning anything so now I'm trying to figure out whats wrong on the tap-square side
e
does
meltano config tap-square test
fail?
c
it does
Copy code
Plugin configuration is invalid
KeyError: 'refresh_token'
maybe I need to try the singer-io variant
👍 1
alright, went back to the hotgluexyz tap-square variant. The issue still persists in target-duckdb--jwills related to a particular square table that does not have an 'id' key only a 'catalog_object_id' key.
Copy code
Cannot find ['id'] primary key(s) in record: {'catalog_object_id'...
config is set as follows
Copy code
loaders:
  - name: target-duckdb
    variant: jwills
    pip_url: target-duckdb~=0.6
    config:
      primary_key_required: false
not sure if there is a way to alias 'catalog_object_id' to 'id' to overcome this table load or skip this table all together