You need to sign in to do that
Don't have an account?

PHP API Login works with Developer Account/Fails with Production Account
I am trying to implement a PHP API setup for a client. My code works perfectly with my Developer Account Login and Password/Token. However, when I replace my username and password/token with my client's username/pass/token, I get the following response:
Array ( [faultcode] => ns1:INVALID_LOGIN [faultstring] => INVALID_LOGIN: Invalid username, password, security token; or user locked out. [detail] => Array ( [fault] => Array ( [exceptionCode] => INVALID_LOGIN [exceptionMessage] => Invalid username, password, security token; or user locked out. ) ) )
I had the client reset their password and security token just to make sure, and login still fails. The client has confirmed for me that her profile includes API Access. I am out of ideas on how to fix this. One account works perfectly, and the other fails every time. What am I missing here?
By the way, this is a non-profit account that I am working on.
Array ( [faultcode] => ns1:INVALID_LOGIN [faultstring] => INVALID_LOGIN: Invalid username, password, security token; or user locked out. [detail] => Array ( [fault] => Array ( [exceptionCode] => INVALID_LOGIN [exceptionMessage] => Invalid username, password, security token; or user locked out. ) ) )
I had the client reset their password and security token just to make sure, and login still fails. The client has confirmed for me that her profile includes API Access. I am out of ideas on how to fix this. One account works perfectly, and the other fails every time. What am I missing here?
By the way, this is a non-profit account that I am working on.
PHP Fatal error: Uncaught SoapFault exception: [sf:LOGIN_MUST_USE_SECURITY_TOKEN] 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 at http://www.salesforce.com and click Setup | My Personal Information | Reset Security Token. etc etc etc
Of course we have also tried to using the token with the password but still... does not work... so if anyone has aworkaround for this or have had a similar problem i appreaciate if you shed some light over here....
any ideas?
thnx in advance!
Depending on your permissions, you may be able to check for yourself.
Setup -> Administration Setup -> Security Controls -> Network Access
If the public IP(s) of the machine in question are not on the list, the security token is required.
Your machine may have more than one IP. On a *nix setup, type the following at the command prompt:
/sbin/ifconfig
You're looking for any xxx.xxx.xxx.xxx that follows 'inet addr:' and is NOT 127.0.0.1