+ Start a Discussion

Invalid username, password, security token; or user locked out with SOAP API


I am using the SOAP API.  When I make the login call https://login.salesforce.com/services/Soap/c/37.0/ I always get the error 'Invalid username, password, security token or user locked out'.

I have changed my password, reset my security token , etc and I still get the error. My username and password (with token) works in the Apex Data Loader. 

How can I get more debug information about what I need to change.   

I have left the portal field empty because we don't have a portal.

Thank You,
SandhyaSandhya (Salesforce Developers) 


Please refer below thread if it helps you.


Hope this helps you!

Thanks and Regards
Daniel K 21Daniel K 21
in my trial version , I can't find the option to reset security token. 
any help?
Andrew HayterAndrew Hayter
Login to Sales Force with the ID you wish to work with, then:
Reset Security Token:

View Consumer Key and Secret

View login attempts