+ Start a Discussion
mikenjmikenj 

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

Hello,

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) 

Hi,

Please refer below thread if it helps you.

https://success.salesforce.com/answers?id=90630000000guiKAAQ

Hope this helps you!

Thanks and Regards
Sandhya
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:
https://tinyurl.com/SF-Reset-Secret

View Consumer Key and Secret
https://tinyurl.com/SF-Consumer-and-Secret

View login attempts
https://um5.lightning.force.com/lightning/settings/personal/LoginHistory/home