Closed Nazareena closed 6 years ago
The usage is as follows
$ force-dev-tool remote add <name> <username> <password> [-u <url>] [--default]
https://test.salesforce.com
login url (for sandboxes)Example
$ force-dev-tool remote add mydev john.doe@example.com 'my$ecurePassw$rdWord!THESECURITYTOKEN'--default
@Nazareena Please use Markdown to format your issues and issue comments in the future!
Its not working , do I am missing any steps here , pls send in detail steps.Thanks for the support. force-dev-tool remote add mydev devopstarget@ibm.com 'passwordsecuritytoken' -u https://login.salesforce.com --default
force-dev-tool login Error: Login failed for remote mydev: Error: INVALID_LOGIN: Invalid username, password, security token; or user locked out.
just added single quote to username then it worked , but getting below error. force-dev-tool login mydev Error: Login failed for remote mydev: Error: Invalid URI "%27https://login.salesforce.com%27/services/Soap/u/41.0"
Do we need to enable something in that org.
@Nazareena
I'm closing this issue as i cannot reproduce this.
Have you tried using another tool that requires password and security token?
If you can verify that it works with e.g. Ant Migration Tool and it doesn't work with force-dev-tool
, please re-open this issue.
tried in another tool where password and security token required and it worked , will be helpful if you can resolve this issue sharing even the password details force-dev-tool remote add mydev 'gfk-target-devorg@ibm.com' 'gfktarget1@ulDNnBiBilV5HyeDMDO9MwLt' -u https://login.salesforce.com --default
@Nazareena
It works for me. There is no need to quote the username by the way.
$ force-dev-tool remote add mydev gfk-target-devorg@ibm.com 'gfktarget1@ulDNnBiBilV5HyeDMDO9MwLt' -u https://login.salesforce.com
$ force-dev-tool login mydev
I left you a note as prove: https://ap4.salesforce.com/0666F000008Gt65
Have you tried from another computer or network?
Hi Team,
I am facing invalid credentials issue when my sandbox set with my domain. Prevent login with https://login.salesforce.com is unchecked in sandbox. But still I am unable to login. Please help me out with solution.
Thanks, Saranya
HI
Just tried these steps
$ force-dev-tool remote add mydev --default
$ force-dev-tool remote add build
$ force-dev-tool remote add production https://login.salesforce.com
$ force-dev-tool login mydev
foce-dev-tool test
It always throws error as follows eventhough Iam giving proper credentials
Error: Login failed for remote mydev: Error: INVALID_LOGIN: Invalid username, password, security token; or user locked out.
Please help to solve this issue