function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Hiep LeeHiep Lee 

Data loader using Command Line got error : Failed to send request to htt ps://test.salesforce.com/services/Soap/u/42.0

I using Dataloader and windows command line to auto schedule export, import data daily. I follow all step of Data Loader Guide but 
I still got an error about sent request. I pretty sure that I have used the working proxy in the browser and Dataloader manual way in conflict file.
Here is my conflict file process-conf.xml:
Thank you guy and best regard.
 
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="accountInsert"
class="com.salesforce.dataloader.process.ProcessRunner"
singleton="false">
<description>accountInsert job gets the account record from the CSV file
and inserts it into Salesforce.</description>
<property name="name" value="accountInsert"/>
<property name="configOverrideMap">
<map>
<entry key="sfdc.debugMessages" value="true"/>
<entry key="sfdc.debugMessagesFile"
value="C:\DLTest\Log\accountInsertSoapTrace.log"/>
<entry key="sfdc.endpoint" value="https://test.salesforce.com"/>
<entry key="sfdc.username" value="hiep1.le_tmc@glb.toshiba.co.jp.dev11"/>
<!--Password below has been encrypted using key file,
therefore, it will not work without the key setting:
process.encryptionKeyFile.
The password is not a valid encrypted value,
please generate the real value using the encrypt.bat utility -->
<entry key="sfdc.password" value="hiding"/>
<entry key="sfdc.proxyHost" value="proxy.toshiba.co.jp"/>
<entry key="ssfdc.proxyPort" value="8080"/> 
<entry key="sfdc.timezone" value="TimeZone.getDefault()"/>
<entry key="process.encryptionKeyFile" 
value="C:\DLTest\Command Line\Config\key.txt"/>
<entry key="sfdc.timeoutSecs" value="600"/>
<entry key="sfdc.loadBatchSize" value="200"/>
<entry key="sfdc.entity" value="Account"/>
<entry key="process.operation" value="insert"/>
<entry key="process.mappingFile"
value="C:\DLTest\Command Line\Config\accountInsertMap.sdl"/>
<entry key="dataAccess.name"
value="C:\DLTest\In\insertAccounts.csv"/>
<entry key="process.outputSuccess"
value="c:\DLTest\Log\accountInsert_success.csv"/>
<entry key="process.outputError"
value="c:\DLTest\Log\accountInsert_error.csv"/>
<entry key="dataAccess.type" value="csvRead"/>
<entry key="process.initialLastRunDate"
value="2005-12-01T00:00:00.000-0800"/>
</map>
</property>
</bean>
</beans>
Best Answer chosen by Hiep Lee
SandhyaSandhya (Salesforce Developers) 
Hi,

Refer  below salesforce help article which has the solution for same error.

https://help.salesforce.com/articleView?id=Unable-to-connect-with-Data-Loader-and-receiving-failed-to-send-request-error&language=en_US&type=1
 
Please mark it as solved if my reply was helpful, it will make it available
for others as a proper solution.

Best Regards,
​Sandhya
 

All Answers

SandhyaSandhya (Salesforce Developers) 
Hi,

Refer  below salesforce help article which has the solution for same error.

https://help.salesforce.com/articleView?id=Unable-to-connect-with-Data-Loader-and-receiving-failed-to-send-request-error&language=en_US&type=1
 
Please mark it as solved if my reply was helpful, it will make it available
for others as a proper solution.

Best Regards,
​Sandhya
 
This was selected as the best answer
Hiep LeeHiep Lee
Hi @Sandhya,
I had read it before but problem cause is company proxy so I had to ask system admin anyway.
I thought I could fix it myseft.
Thank you for help.
Robert SpearRobert Spear
Hi Hiep Le! I'm trying to schedule a similar job and have the same sent request error. What information did you need from your system admin to get the request to work?

Thanks :)
Hiep LeeHiep Lee
Hi Robert Spear,
sorry for the late answer
You have to use the proxy password same as the user password
Darshan HsDarshan Hs
Hi @Hiep Lee 
                      Even am trying to automate data loade but while doing update operation date is getting updated with one day Minus  do you have any solution for this issue,
Thanks