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

error logging into data loader using command line process

I am having an issue getting my command line data loader to function.  I am using date loader 23.0


I have encrypted the password and security token as outlined in the cheatsheet for 9.0. 


I have verified that I can log onto data loader using the userid, password and security token, so I know the user is not locked out.


Here is my error message:


java.lang.RuntimeException: Invalid username, password, security token; or user locked out.
 at com.salesforce.dataloader.process.ProcessRunner.main(
Caused by: [LoginFault [ApiFault  exceptionCode='INVALID_LOGIN'
 exceptionMessage='Invalid username, password, security token; or user locked out.'


Here is the password portion of my code:

<entry key="sfdc.password" value="41683bf7a6a116b7d92ce4e857e7b510"/>
                <entry key="process.encryptionKeyFile" value="C:\Program Files (x86)\\Apex Data Loader 23.0\conf\Key.txt" />

Any ideas?






Best Answer chosen by Admin (Salesforce Developers) 

Got the password issue resolved.


All Answers


Got the password issue resolved.


This was selected as the best answer
abhik dey 1abhik dey 1
Hi can u tell me whats the solution to it.??

I have encrypted and use that pwd only in the config file but still invalid login.
Shreyasi BrahmbhattShreyasi Brahmbhatt
I got the same error message but don't know the solution for it
I've verfied the encrypted and decrypted values using the 'encrypt.bat -v' option and it says the passwords match.
Can you plesase comment on what was your solution?