Need suggestion on the below issue. When I am trying to connect Salesforce.com through Web Service API by using username,(Password+Security Token) and End-point URL getting the below error. But using the same credentials able to login through browser as well as through data loader.

Error: sf:INVALID_LOGININVALID_LOGIN: Invalid username, password, security token; or user locked out. INVALID_LOGINInvalid username, password, security token; or user locked out.


Usually when you sure the credentials are correct, you should try to login with the custom domain URL like: https://mydomain.my.salesforce.com, also it depends what instance you want to login check production / sandbox environments urls.

| improve this answer | |
  • Thanks Yucel. The issue has been resolved after using Salesforce Instance URl (my domain URL ) – Biswajit May 17 '17 at 6:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.