• William Playfair
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hello, 

I am using JSForce to try and authenticate with Salesforce and am receiving this error.

[Error: LOGIN_MUST_USE_SECURITY_TOKEN: Invalid username, password, security token; or user locked out. Are you at a new location? 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.com at http://login.salesforce.com and click Setup | My Personal Information | Reset Security Token.]

I've tried adding the security token several ways: 
 
conn.login('usernamehere', 'passwordhere-securitytokenhere', function(err, res) {
 
conn.login('usernamehere', 'passwordheresecuritytokenhere', function(err, res) {

Does anyone know the proper way to pass the security token with the JSForce module (node, https://jsforce.github.io/)

Thanks!
Hello, 

I am using JSForce to try and authenticate with Salesforce and am receiving this error.

[Error: LOGIN_MUST_USE_SECURITY_TOKEN: Invalid username, password, security token; or user locked out. Are you at a new location? 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.com at http://login.salesforce.com and click Setup | My Personal Information | Reset Security Token.]

I've tried adding the security token several ways: 
 
conn.login('usernamehere', 'passwordhere-securitytokenhere', function(err, res) {
 
conn.login('usernamehere', 'passwordheresecuritytokenhere', function(err, res) {

Does anyone know the proper way to pass the security token with the JSForce module (node, https://jsforce.github.io/)

Thanks!

I created a field called type in Leads and I would like to map it to the existing field Account.Type.  However, this is not an option.  Any way around this?

 

I can map fields that I have created in Leads to Accounts.

 

Thanks,

Sandy

  • February 17, 2010
  • Like
  • 0