+ Start a Discussion

Update Account Object - Error Invalid Type 'sObject'

A strange error is occuring.  When I try to update an Account type, I get the error: INVALID TYPE: type 'sObject'

I use the same code to update the Opportunity object, and it works fine.

The array I am passing looks like this:

$update_array[$y]['type'] = "Account";
$update_array[$y]['Id'] = $accounts[$i]->AccountId;
$update_array[$y]['Marketing_Touched_Status__c'] = "true";
I am using the PHP salesforceclient (w/ nusoap). 

Thanks for any help  / direction you can provide.

Message Edited by thechad on 05-21-2007 12:19 PM