salesforce connector error - user hasn't approved this consumer

Hi 🙂 ,

I am trying to setup the configuration for salesforce connector in GCP. I followed the document 

https://www.googlecloudcommunity.com/gc/Integration-Services/Application-Integration-Create-Salesfor...

and was able to successfully connect with my personal salesforce account. But now I am doing the same steps to connect with sandbox salesforce account and I am getting this below error

{ "error" : "invalid_grant", "error_description" : "user hasn't approved this consumer"}

shefali_0-1696241546724.png

Salesforce config as per the above mentioned document url to avoid this type of error is this one which I have configured below:

shefali_1-1696241615856.png

Any suggestions @Mamatha @dchiesa1 @Madhuvandhini @pramodvallanur. Your help is much appreciated. thanks

 

 

 

Solved Solved
1 1 1,468
1 ACCEPTED SOLUTION

Hi @shefali,  This error is from Salesforce and the common cause is a lack of refresh token.

Please authorise the application using Step 3 from https://mannharleen.github.io/2020-03-03-salesforce-jwt/.

View solution in original post

1 REPLY 1

Hi @shefali,  This error is from Salesforce and the common cause is a lack of refresh token.

Please authorise the application using Step 3 from https://mannharleen.github.io/2020-03-03-salesforce-jwt/.