php - Null response from salesforce soap api create call -


i have inherited php salesforce api code working. basic task sync information between salesforce , website.

i have cron job pulls necessary salesforce, , inserts site expected. goes , updates custom field in sf indicate id in site table.

however, opposite not working. have loop builds bunch of custom objects site's table, when sends on sf in

$response = $client->create($array_objects, 'custom_object_name__c') 

the response null. no error message, nothing.

does have ideas how can debug, or why happen? i've checked permissions, logged in user has full permissions on object.

thank you!

the php sdk using following foreach syntax:

foreach($sobjects &$sobject){     ...     $sobject = xx; } 

this not updating original array object, nothing being sent salesforce. created new array , assigned new objects new array, , works.

i hope helps else.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -