function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pmsdxpmsdx 

Dataloader working for Sandbox but getting exception when using PHP Soap API

I have a username/password/securitykey and it works on the sandbox.

I get the

 SoapFault exception: [INVALID_LOGIN] INVALID_LOGIN: Invalid username, password, security token; or user locked out

exception when I try with PHP. This is what I have in the partner.wsdl.xml file

 

    <!-- Soap Service Endpoint -->
    <service name="SforceService">
        <documentation>Sforce SOAP API</documentation>
        <port binding="tns:SoapBinding" name="Soap">
            <soap:address location="https://test.salesforce.com/services/Soap/u/26.0"/>
        </port>
    </service>

The API Access is enabled (I guess dataloader would not work otherwise)

 

What could be going wrong?

 

I don't have access to the production instance.

 

thanks,

pmsdx.

pmsdxpmsdx

Turns out it was a lock out issue or something. Without me changing anything, it started workng the next day.

will update if I find the reason.