This is a discussion on Fatal error:[INVALID_LOGIN] INVALID_LOGIN: within the Salesforce PHP Tutorials forums, part of the Salesforce category; Hi.
i have this error:
Fatal error : Uncaught SoapFault exception: [INVALID_LOGIN]
-
Fatal error:[INVALID_LOGIN] INVALID_LOGIN:
Hi.
i have this error:
Fatal error: Uncaught SoapFault exception: [INVALID_LOGIN] INVALID_LOGIN: Invalid username, password, security token; or user locked out. in C:\wamp\www\webservice\salesforce\soapclient\Sforc eBaseClient.php:158 Stack trace: #0 [internal function]: SoapClient->__call('login', Array) #1 C:\wamp\www\webservice\salesforce\soapclient\Sforc eBaseClient.php(158): SoapClient->login(Array) #2 C:\wamp\www\webservice\salesforce\traecosas.php(35 ): SforceBaseClient->login('csalazar@cambri...', 'pasduyr1') #3 {main} thrown in
C:\wamp\www\webservice\salesforce\soapclient\Sforc eBaseClient.php on line
158
my password and user is correct, can you help me??
-
did you include your security token? go to Salesforce > Setup > reset security token
and then include that like this
PHP Code:
$username = 'me@myemail.com'
$password = 'password';
$token = 'token from salesforce';
$password = $password.$token;
that should get you past that error
~Mike
-
Hi Mike
Thanks for the help.
have a nice day
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks