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

Null Response from sales force for Create all with Soap API

Hi All,

I have inherited some php code that is among other things, trying to create some custom objects via the soap api using the create method.

The create is not successful (no new objects in the production environment) and the soap response is null.


$response = $mySforceConnection->create($this_batch, 'MY_CUSTOM_OBJECT__c');

echo 'the response from sf: ' . var_export($response, 1);

 This echos  'the response from sf: NULL'


I've dumped the $this_batch variable to be sure I was sending information ,and it Is.


Does anyone know why there would be no information in the response?