Closed jscottfras closed 7 months ago
Go to Settings dialog and change Server host to "https://test.salesforce.com".
You will see the right URL when you try to login
Prior versions of data loader properly selected the correct URL based on the Environment selected. This is a regression.
Also, I updated the URL in the settings, and I'm still getting the login.salesforce.com URL. The only time the Server Host URL is used on my system is if you select Password Authentication.
Setting change:
OAuth attempt:
Password Auth attempt:
This is a problem with the config file. I copied my config file from 59.0.0, and now it is working correctly.
I did not hand edit my config file previously, but updated the following setting corrects the issue: sfdc.oauth.Sandbox.server=https\://test.salesforce.com
Hi @jscottfras , good to hear that you were able to identify the root-cause. The config.properties
file shipped with data loader v60 has the entry sfdc.oauth.Sandbox.server=https\://test.salesforce.com/
. So, it is a mystery as to why it changed to login.salesforce.com
in your installation. Regardless, thanks for sharing your fix.
Describe the bug When attempting to login to a Sandbox with OAuth, the URL in use is login.salesforce.com instead of test.salesforce.com. This prevents the login from proceeding successfully.
To Reproduce Steps to reproduce the behavior:
Expected behavior After completing the login on the browser, dataloader verifies the login and allows you to continue
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.