+ Start a Discussion
sevindusevindu 

ANT Invalid username, password, security token; or user locked out

I am getting this error when using ANT.

UserName:lwcdx@lwcdx.com
Password:Test@123

"Invalid username, password, security token; or user locked out"

Plz help
Best Answer chosen by sevindu
Uttpal_ChandraUttpal_Chandra
Hi sevindu,

Try resting you security token and also make sure your pointing to the correct environment (test.salesforce.com if you're deploying to a sandbox or login.salesforce.com if you're pointing to production)