Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tap-intercom always returns empty results regardless what's in the config file #2

Open
yochze opened this issue Feb 29, 2020 · 2 comments

Comments

@yochze
Copy link

yochze commented Feb 29, 2020

Reproduce:

  1. clone repo
  2. python3 setup.py install
  3. mv config.json.example config.json
  4. add real access_token to config.json and edit date
  5. create catalog tap-intercom --config config.json --discover > catalog.json
  6. Run tap-intercom --config config.json --catalog catalog.json

The output is always:

INFO last/currently syncing stream: None
INFO Skipping stream: admins
INFO Skipping stream: companies
INFO Skipping stream: company_attributes
INFO Skipping stream: company_segments
...
@yochze
Copy link
Author

yochze commented Feb 29, 2020

I also tried with tap-intercom that is hosted on pypi

@nickleomartin
Copy link

nickleomartin commented May 3, 2020

@yochze you need to manually edit the catalog.json to select the streams and fields you want to sync after running discovery mode i.e. add "selected": true. See the Streams/Field Selection section in the documentation.

...
"stream": "admins",
      "metadata": [
        {
          "breadcrumb": [],
          "metadata": {
            "table-key-properties": [
              "id"
            ],
            "forced-replication-method": "FULL_TABLE",
            "inclusion": "available",
            "selected": true
          }
        }, 
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants