Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

M-Files Salesforce EOT Connector Error: "Invalid username, password, security token; or user locked out."

Last updated on 28 June 2024

Admin
M-Files for Salesforce

Overview

When configuring the Salesforce External Object Type Connector, after completing step 16 of section 2.2 in the Salesforce EOT Connector Installation Guide, you may receive the following error and the object sync will not work: 

<>, -, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
ScriptErrorHelper.cpp, 96, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
MDispatchExImpl.h, 679, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
MDispatchExImpl.h, 841, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
CoScriptDelegate_MFAdminDashboard.cpp, 1740, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
RPCMethodCallWithRetry.h, 44, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
RPCMethodCallWithRetry.h, 44, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
RPCExtensionAuthentications.cpp, 674, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
RPCExtensionAuthentications.cpp, 406, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
MCallInLoop.h, 530, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
RPCExtensionAuthenticationsHelper.cpp, 155, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
ExtensionManager.cpp, 4060, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
CoExternalObjectTypeHost.cpp, 288, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
ManagedError.cpp, 149, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
System.Web.Services: [CManagedError* CExternalObjectTypeHost.TestAuthentication(CExternalObjectTypeHost*, CManagedError*, CMF_ExtensionCallInformation*, Int32, _MF_ExtensionAuthenticationSpecialUserType, _MF_String_2091*, CMF_ExtensionAuthenticationResponse*)], IL:34, INVALID_LOGIN: Invalid username, password, security token; or user locked out. (0x80131501)
System.Web.Services: [CManagedError* CExternalObjectTypeHost.TestAuthentication(CExternalObjectTypeHost*, CManagedError*, CMF_ExtensionCallInformation*, Int32, _MF_ExtensionAuthenticationSpecialUserType, _MF_String_2091*, CMF_ExtensionAuthenticationResponse*)], IL:34, 

 

Solution

The error denotes that you have an incorrect username, password, or security token with the most likely culprit being the token.

The security token is often confused with a different value or key in Salesforce, thus it is important to note that the required Security Token is a 24-character value that can be found according to this Salesforce article: Reset Your Security Token (salesforce.com)

Following the above article instructions, you will reset the security token, and it will be emailed directly to your email. With this value, you should successfully authenticate within the Salesforce Connector, granted that the username and password are also correct. 

Still need help?

On this page