Happy New Year! I am trying to use `tap-github` to...
# troubleshooting
j
Happy New Year! I am trying to use
tap-github
to crawl both repo and org level entities. Screenshot from meltano.yml below. Executing:
Copy code
meltano run tap-github target-postgres tap-github-org target-postgres --full-refresh
The second part fails with this error:
Copy code
ValueError: This tap requires one and only one of the following path options: {'user_usernames', 'user_ids', 'organizations', 'searches', 'repositories'}.
As you can see in the screenshot, I tried to override the
repositories
with empty array, but looks like it checks existence of keys and due to inheritance it finds both
repositories
and
organizations
keys in
tap-github-org
. Already discussed with @Sven Balnojan, who suggested to post it here and cc: @aaronsteers / @ken_payne
Workarounded like this, but still does not work as expected.
The second extractor (org) does not respect the
select
configuration, instead it crawls everything and finally fails on an entity, which I do not have access to (403).
Sorry, wrong indentation of
select
section 🤦
Voila, everything works as expected 🙂
Thanks @Sven Balnojan for you heroic help to my newbieness!