Hey team - Just setup Airbyte, and I am trying to ...
# replication-troubleshooting
c
Hey team - Just setup Airbyte, and I am trying to configure my first connection. I’m trying to connect to a Salesforce sandbox environment and I am getting this error :
Copy code
The connection tests failed.
'An error occurred: {"error":"invalid_grant","error_description":"expired access/refresh token"}'
Any guidance on how to reset the refresh token?
d
Hi Carolina, is this a Salesforce token it’s referring to?
c
yes, I’ve searched Slack and it seems like others have had the issue, but I don’t see a clear resolution
n
Hi @Carolina Buckler, are you using a custom domain with Salesforce? Could you please double check that you're using the correct tokens? I know it sounds silly, but I know a few users have made that mistake before.
c
we do have a custom domain, but it can be accessed through test.salesforce.com
I’m having issues confirming the refresh token; do you know how I can get it?
n
This article is a little old, but perhaps it will help: https://medium.com/@bpmmendis94/obtain-access-refresh-tokens-from-salesforce-rest-api-a324fe4ccd9b Looks like you can get it using their API
c
^ this helped; also to note, the authorization code you get from step one will expire after 15 minutes
u
So glad it helped!