Salesforce connection getting failed

SumathiSomala
Regular Contributor II
Regular Contributor II

Hi folks,

Today I was setting up a connection to the Salesforce application, after preparing the steps on Salesforce, I configured the connection on Saviynt to connect to Salesforce. when I test the connection I get this error

 
2023-07-20T23:26:35+05:30-ecm-provisoning.SalesForceProvisioningService-http-nio-8080-exec-15-DEBUG-Error in getAccessToken:Not able to refresh access_token, please check connection details
 
2023-07-20T23:26:35+05:30-ecm-provisoning.SalesForceProvisioningService-http-nio-8080-exec-15-DEBUG-Exception in testConnectionSalesForce: java.lang.Exception: Not able to refresh access_token, please check connection details
 
 
 credentials are working successfully from Postman.
Also have one doubt can we use same callback URL for two connected apps in Salesforce?
Any help would be greatly appreciated.
3 REPLIES 3

rushikeshvartak
All-Star
All-Star
  • Can you share configuration. 
  •  

naveenss
All-Star
All-Star

Hi @SumathiSomala ,

Can you confirm if you are using the same "Instance URL" that is present in the token response from postman? 

And yes, same callback URL can be used for two connected apps in Salesforce. Also, please refer to the below forum post.

Solved: Salesforce Connection setup - Saviynt Forums - 40088

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

SumathiSomala
Regular Contributor II
Regular Contributor II

We fixed this by unchecking "Require Secret for Refresh Token Flow" option which is part of Salesforce configuration