Error: "Required parameter sfdc.password is unspecified or empty", in spite of using sfdc.oauth.accesstoken
See original GitHub issueHi,
I’ve been using sfdc.oauth.accesstoken
instead of sfdc.password
in process-conf.xml. it was working just as I intended in the previous version . But after updating to v53.0.1, the following error came to occur.
2021-12-20 11:14:22,568 INFO [process] process.ProcessRunner run (ProcessRunner.java:136) - Loading parameters
2021-12-20 11:14:22,583 FATAL [process] process.ProcessRunner validateConfigProperties (ProcessRunner.java:357) - Required parameter sfdc.password is unspecified or empty
2021-12-20 11:14:22,585 FATAL [main] process.ProcessRunner topLevelError (ProcessRunner.java:256) - Unable to run process process
java.lang.RuntimeException: com.salesforce.dataloader.exception.ParameterLoadException: Required parameter sfdc.password is unspecified or empty
at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:182) ~[dataloader-53.0.2-uber.jar:?]
at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:117) [dataloader-53.0.2-uber.jar:?]
at com.salesforce.dataloader.process.ProcessRunner.runBatchMode(ProcessRunner.java:272) [dataloader-53.0.2-uber.jar:?]
at com.salesforce.dataloader.process.DataLoaderRunner.main(DataLoaderRunner.java:98) [dataloader-53.0.2-uber.jar:?]
Caused by: com.salesforce.dataloader.exception.ParameterLoadException: Required parameter sfdc.password is unspecified or empty
at com.salesforce.dataloader.process.ProcessRunner.validateConfigProperties(ProcessRunner.java:358) ~[dataloader-53.0.2-uber.jar:?]
at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:140) ~[dataloader-53.0.2-uber.jar:?]
... 3 more
Now I’m tentatively setting both sfdc.oauth.access token and sfdx.password to the same value, like this:
<entry key="sfdc.oauth.accesstoken" value="68c8a4..."/>
<entry key="sfdc.password" value="68c8a4..."/>
It is working, but a little strange. So, if there is not a special reason, I’d like to you fix it.
Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Having trouble getting Access Token with username/password
I was working on an issue with Salesforce and oAuth using the password flow. Your first reponse caught my eye. I was just...
Read more >REST API Developer Guide
REST API is one of several web interfaces that you can use to access your Salesforce data without using the Salesforce user interface....
Read more >unsupported_grant_type","error_description":"grant type not ...
Had the same error (SalesForce 2020). Under Manage Connected Apps, I had to make sure my selected OAuth ...
Read more >nforce is a node.js salesforce REST API wrapper - GitHub
To request an access token and other oauth information using the username and password flow, use the authenticate() method and pass in your...
Read more >Change Salesforce.com OAuth to Saved Credentials - Tableau
Salesforce connector—If you're using the Salesforce connector, you can configure Tableau Server with an OAuth client ID and secret, so the connector can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @norikoiwai , thanks for this clarification. I am attaching a patched version of data loader 53.0.2 that does not require password if sfdc.oauth.accesstoken is set. Let us know if that works.
MD5 (dataloader_mac.zip) = ef69efdbe912cc3994170dc99b4f31a8 MD5 (dataloader_win.zip) = a007b29015e55671b84b0600092865e3
dataloader_mac.zip dataloader_win.zip
Hi @norikoiwai , thanks for confirming the fix. Will check it in shortly.