You need to sign in to do that
Don't have an account?

Issue with Force.com Migration Tool
Hi guys,
When I used Force.com Migration tool to retrieve metadata from a developer org, I got this error :
Invalid username, password, security token; or user locked out.
After checking the configuration, I'm sure that :
- The username, password & security token are correct because I can use them to checkout a Force.com project in Eclipse.
- Server url is correct (https://login.salesforce.com)
Can anybody give me an advice ?
Thanks.
Thanks Ankit.
That's exactly what I did but it didn't work.Here's my configuration
build.properties
build.xml
package.xml
Result
Do you know what I'm doing wrong ?All Answers
Hi,
To login from this IP Address, you need to supply your API Security Token, as well as your password. When accessing Salesforce--either via a desktop client or the API--from outside of your company’s trusted networks, you must add a security token to your password to log in. To receive a new security token, log in to Salesforce at http://www.salesforce.com and click Setup -> My Personal Information -> Reset Security Token.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Thanks Ankit.
That's exactly what I did but it didn't work.Here's my configuration
build.properties
build.xml
package.xml
Result
Do you know what I'm doing wrong ?Not sure if you've figured out the solution yet - I ran into similar situation and it turned out that if my password contains $ signs the ant migration tool mistakenly truncates it, thinking that it's part of the token expression (${}). After I added an extra $ sign to my password it begins to work. Better yet, just avoid having $ signs in your password altogether!
Thanks Ken. It works like a charm :)
Thank you so much. I had the same issue where my password had $ sign where in ANT migration tool it was not working it was saying as Invalid username, password, security token; or user locked out. But the same password did work on Eclipse and other. By reading your comment I did change my password by excluding the $ sign and tried connecting again through ANT tool and it worked successfully. I did all circus by clearing my temp folder, restarting my machine, nothing helped. But your solution really helped in time. Thank you so much.
Thanks,
Pavan
My password didnot contain any $ Symbol.But i am facing the same problem.Can any one give advise?
Thanks
Hi, I am experiencing the same problem:
I'm using Windows 10
Attempting to use the example describeMetadata target with a Developer Edition.
sf.serverurl = https://login.salesforce.com
Password and Security Token are correct (can login with MavensMate)
Not connecting via a Proxy (as far as I can tell)
The failed login attempts do NOT show in the login attempts for my user.
any help would be appreciated, thanks.