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
Sarvesh  SharmaSarvesh Sharma 

salesforce upsert give error on Contact AccountId relation

is it possible to upsert the AccountId field of an salesforce Contact. using the salesforce apis
when i try this i am getting the following error 

A fault is received in a upsert request.  Fault code [{http://schemas.xmlsoap.org/soap/envelope/}Client].  Fault subcode [{http://schemas.xmlsoap.org/soap/envelope/}Client].  Reason [Unexpected element {urn:sobject.partner.soap.sforce.com}type during simple type deserialization].  Detail [Unexpected element {urn:sobject.partner.soap.sforce.com}type during simple type deserialization].
2015-07-21 15:04:30 [INFO] Failed to insert the record [001i000000iU8hAAAS,Update_Test] because of the following error: [Unexpected element {urn:sobject.partner.soap.sforce.com}type during simple type deserialization].

Thanks in advance!!!!!!!!
Himanshu ParasharHimanshu Parashar
an you post your code as well ?