Salesforce API Sandbox
-
Using Web to lead i can configure Production ORG and Sandbox ORG but I would prefer the API.
I can connect to my production environment but not to my sandbox environment.
Login with Salesforce takes me to login.salesforce.com, I can change this to test.salesforce.com and then login. I am presented with the authorise and click yes.
Returning to Gravity I get “this authorization request has expired, or (less likely) the IP is restricted or invalid login hours.”
The log says:
2018-02-20 3:02:41.875560 – DEBUG –> get_api(): The access token is empty – app is not yet authenticated
2018-02-20 3:03:38.895375 – DEBUG –> processSalesforceResponse: Received access code (aPrxnkBfDzonEr74L3qR.Z5TsRP35onU5LN_GqSdYT_FyUNkxY_GKYSv9VjnCSfIIX6OiO89Cw==). Now fetching Access Token.
2018-02-20 3:03:40.183238 – ERROR –> processSalesforceResponse: Clearing token, since there was an error.
2018-02-20 3:03:40.183463 – DEBUG –> Token was cleared.
2018-02-20 3:03:40.184226 – DEBUG –> Refresh Token cleared
2018-02-20 3:03:40.184381 – ERROR –> processSalesforceResponse: This authorization request has expired, or (less likely) the IP is restricted or invalid login hours. [Raw error message: Error in retrieving token: “invalid_grant”]
2018-02-20 3:03:41.349131 – DEBUG –> get_api(): The access token is empty – app is not yet authenticatedWould the plugin be going back for an access token to login.salesforce.com?
We don’t to keep pushing test level data into Production.
The topic ‘Salesforce API Sandbox’ is closed to new replies.