I am trying to use tap-rest-api-msdk to load some ...
# plugins-general
n
I am trying to use tap-rest-api-msdk to load some data from Bexio. Has anyone tried to do that?
Copy code
- name: tap-rest-api-msdk
    namespace: tap-rest-api-msdk
    pip_url: tap-rest-api-msdk
    executable: tap-rest-api-msdk
    capabilities:
    - state
    - catalog
    - discover
    settings:
    - name: api_url
    - name: name
    - name: path
    - name: params
    - name: headers
    - name: records_path
    - name: primary_keys
    - name: replication_key
    - name: except_keys
    - name: num_inference_records
    config:
      api_url: <https://api.bexio.com/2.0>
      path: pr_project
      name: bexio_projects
      primary_keys: id
Anyway, my config is like this so far but I always get Catalog Discovery failed errors. How to I debug this? I don't know how to proceed.
also, in what format do I add the headers for the bearer and so on? It should be an object, but I need to add two things. how do I do that?
last but not least. What is the best way to use multiple apis in one project? Is this not recommended? Or can I somehow rename them and have the same extractor multiple times?
p
If you add
--log-level=debug
to your command it should tell you more - check out the docs on debugging. Also check out the
inherit-from
docs to use a plugin multiple times!