Hi All, I'm trying to setup the SalesForce tap and...
# getting-started
k
Hi All, I'm trying to setup the SalesForce tap and getting the error message "CRITICAL Cannot create credentials from config" although when I run the command "meltano config tap-salesforce" it returns what looks like the correct configuration { "username": " * ", "password": " * ", "client_id": " * ", "client_secret": " * ", "start_date": "2021-11-01T000000Z", "is_sandbox": true, "api_type": "REST", "select_fields_by_default": true, "state_message_threshold": 1000, "max_workers": 8 }. Any ideas on how to fix this issue ?
p
Hey Kevin - Am I right in assuming youre using the meltano variant? https://gitlab.com/meltano/tap-salesforce It support OAuth or user/pass authentication. It looks like youre either missing
security_token
for user/pass or
refresh_token
for OAuth.
d
@kevin_mclaughlin Just thought I’d contribute to this, you may need to include your Salesforce Security Token in your tap-salesforce config if you’re including the username and password. With Salesforce, I usually do (username, password, and security token) or connected app credentials. Not both.