FavoriteLaís Torres (Everymind) posted in Data Loader (Originally asked by Laís Torres)Feb 8, 2024, 8:38 PMLaís TorresErrors trying to use Data Loader (60.0) command-line functionalityI tried following all the steps listed in the Data Loader guide (https://developer.salesforce.com/docs/atlas.en-us.dataLoader.meta/dataLoader/command_line_chapter.htm), but I'm still getting errors. I set up the process-conf.xml records with all the fields required, like endpoint (our sandbox URL), username, encrypted password and encryptionKeyFile as wall. After that, when I ran the process.bat, it was created a default config.properties, ignoring all the values I set in the process-conf.xml, and opening a browser tad to set a code. So, I adapted the config.properties with the values we need, including the encryptionKeyFile, but when I ran the process.bat again, I got this on cmd debug "2024-02-08 00:07:12,045 ERROR [main] config.Config initEncryption (Config.java:1054) - Error initializing encryption for key file c:SalesforceDataLoaderdataLoader.key: Failed to open file: c:SalesforceDataLoaderdataLoader.key".The path to the key was set right, with all the \, not like the error showed. So, I tried to remove the encryptionKeyFile from the config.properties, living it just in the process-conf.xml and running it again. Then, I got the error "2024-02-08 10:54:36,945 FATAL [main] process.ProcessRunner logErrorAndExitProcess (ProcessRunner.java:244) - Unable to run processjava.lang.RuntimeException: Invalid username, password, security token; or user locked out.".The user isn't locked out and a row was added to the his login history as "invalid password", but the password (encrypted) is correct, because I used the key filed to decrypt it and I had my password+token exactly as I set them. So, I need help to know what else should I try, because the documentation isn't helping anymore. #Sales Cloud #Integration #AutomationShow MoreAdd a commentWrite a comment...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Laís TorresErrors trying to use Data Loader (60.0) command-line functionalityI tried following all the steps listed in the Data Loader guide (https://developer.salesforce.com/docs/atlas.en-us.dataLoader.meta/dataLoader/command_line_chapter.htm), but I'm still getting errors. I set up the process-conf.xml records with all the fields required, like endpoint (our sandbox URL), username, encrypted password and encryptionKeyFile as wall. After that, when I ran the process.bat, it was created a default config.properties, ignoring all the values I set in the process-conf.xml, and opening a browser tad to set a code. So, I adapted the config.properties with the values we need, including the encryptionKeyFile, but when I ran the process.bat again, I got this on cmd debug "2024-02-08 00:07:12,045 ERROR [main] config.Config initEncryption (Config.java:1054) - Error initializing encryption for key file c:SalesforceDataLoaderdataLoader.key: Failed to open file: c:SalesforceDataLoaderdataLoader.key".The path to the key was set right, with all the \, not like the error showed. So, I tried to remove the encryptionKeyFile from the config.properties, living it just in the process-conf.xml and running it again. Then, I got the error "2024-02-08 10:54:36,945 FATAL [main] process.ProcessRunner logErrorAndExitProcess (ProcessRunner.java:244) - Unable to run processjava.lang.RuntimeException: Invalid username, password, security token; or user locked out.".The user isn't locked out and a row was added to the his login history as "invalid password", but the password (encrypted) is correct, because I used the key filed to decrypt it and I had my password+token exactly as I set them. So, I need help to know what else should I try, because the documentation isn't helping anymore. #Sales Cloud #Integration #AutomationShow More