Is the tap-freshdesk broken? I just can't get it t...
# troubleshooting
f
Is the tap-freshdesk broken? I just can't get it to work. I got configurations in my meltano.yml which I added via
Copy code
meltano config tap-freshdesk set --interactive
But it seems, that it fails to create the config.yml under "/.meltano/run/tap-freshdesk/". I get the following error (first screenshot):
Copy code
Plugin configuration is invalid
Catalog discovery failed: command ['/home/lfadmin/meltano-projects/freshdesk_tst/.meltano/extractors/tap-freshdesk/venv/bin/tap-freshdesk', '--config', '/home/lfadmin/meltano-projects/freshdesk_tst/.meltano/run/tap-freshdesk/tap.9b3d55e9-5861-43bd-8167-03d93eca7f86.config.json', '--discover'] returned 2 with stderr:
 usage: tap-freshdesk [-h] -c CONFIG [-s STATE]
tap-freshdesk: error: unrecognized arguments: --discover
But as I said I got the configs shown in the second screenshot. How can I fix this?
v
Copy code
tap-freshdesk: error: unrecognized arguments: --discover
Smells like a capability is set wrong. Could you share your meltano.yml
Looks like you may have to use 'properties' instead of 'state' as a capability.
f
This is my meltano.yml
v
https://github.com/meltano/hub/blob/main/_data/meltano/extractors/tap-freshdesk/singer-io.yml#L32 might be wrong is my point If you add capabilities to the tap-freshdesk list, and then switch them to
Copy code
capabilities:
- state
It looks like freshdesk doesn't support catalogs / properties.
That should make meltano not call discover, I haven't used a tap that doesn't have a a catalog 😮
If you could shoot an MR into the hub https://github.com/meltano/hub/blob/main/_data/meltano/extractors/tap-freshdesk/singer-io.yml#L32 if that works and match the same capabilities you find that work it'll help someone else later too!
@florian if it works could you make a comment here to let everyone know https://github.com/meltano/hub/issues/1018 Even better if you could get a PR but a comment would be great 😄
p
@florian I merged a PR to the hub that should fix your issue! You'll need to run
meltano lock tap-freshdesk --update
to pull in the updated metadata into your project. Also I wanted to note that it's a bit unusual to not allow the catalog or discovery capabilities which means some Meltano features like selecting streams wont work, it will just pull all streams.
Thanks @visch for logging it!