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
Amanda Bailey 20Amanda Bailey 20 

PHP to Salesforce Call

We are trying to use a PHP call to Salesforce so that we can integrate an outside home grown into SFDC. Currently I just want the person who wrote the call to be able to have access to SF. I gave him my username, password, and security token but he keeps receiving the attached error message. He is a web developer and I'm a cert. admin so I'm not super familiar with what we need to be doing. We are using the PHP connector toolkit that is provided in the community documents. User-added image
 Any help is really appreciated. 
pconpcon
Are you doing this against production or are you doing this against a sandbox?  Does your user have the API enabled for it?  Can you have the developer include the PHP code he is using to connect.
Amanda Bailey 20Amanda Bailey 20
We are doing this against the sandbox. The user is API enabled. I believe it is an oAuth issue and that we were trying to connect to SOAP and not REST. *Amanda Bailey* Salesforce Administrator Vysk Communications c: 512-749-2468
pconpcon
If you are doing it against a sandbox, did you remember to change the endpoint url from https://login.saleforce.com to https://test.salesforce.com?
Amanda Bailey 20Amanda Bailey 20
Yes, that was one of the couple of things I suggested as a possible issue. *Amanda Bailey* Salesforce Administrator Vysk Communications c: 512-749-2468