Hey ! I am trying to set up a data pipeline to get...
# troubleshooting
a
Hey ! I am trying to set up a data pipeline to get objects (standard and custom) from SFDC to Redshift but I am getting very few
standard
objects only into the Redshfit. 😞 Details are in the thread. Please help πŸ™
Configuration I have tried so far with tap-salesforce
meltano
and
singer-io
variant both: β€’ With this config I am getting only 6 standard objects.
Copy code
config:
      refresh_token: $SECRET_TAP_SALESFORCE_REFRESH_TOKEN
      client_id: $SECRET_TAP_SALESFORCE_CLIENT_ID
      client_secret: $SECRET_TAP_SALESFORCE_CLIENT_SECRET
      start_date: $ENV_TAP_SALESFORCE_START_DATE
      api_type: $ENV_TAP_SALESFORCE_API_TYPE
      select_fields_by_default: true
β€’ With this config my pipeline is running without any error but not getting
Campaign
object into the redshift.
Copy code
plugins:
  extractors:
  - name: tap-salesforce
    namespace: tap_salesforce
    variant: singer-io
    pip_url: git+<https://github.com/singer-io/tap-salesforce.git>
    config:
      refresh_token: $SECRET_TAP_SALESFORCE_REFRESH_TOKEN
      client_id: $SECRET_TAP_SALESFORCE_CLIENT_ID
      client_secret: $SECRET_TAP_SALESFORCE_CLIENT_SECRET
      start_date: $ENV_TAP_SALESFORCE_START_DATE
      api_type: $ENV_TAP_SALESFORCE_API_TYPE
      select_fields_by_default: false
    select: 
    - 'Campaign.*'
t
what do you see if you run `meltano select tap-salesforce --list --all`https://docs.meltano.com/reference/command-line-interface#select
a
with
meltano
variant, I am getting this error:
Copy code
Cannot list the selected attributes: Catalog discovery failed: command ['/project/.meltano/extractors/tap-salesforce/venv/bin/tap-salesforce', '--config', '/project/.meltano/run/tap-salesforce/tap.31767107-6c0b-4012-a965-8561ce55762a.config.json', '--discover'] returned 1
t
Looking at https://github.com/singer-io/tap-salesforce it seems like this tap variant uses the deprecated
properties
cability. Can you add the follwing key to the extractor:
Copy code
capabilities:
  - properties
  - discover
  - state
and then re-run?
a
hey @taylor πŸ‘‹ thank you for all the help. it’s working with
meltano
variant. 😊 gratitude thank you πŸ™