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
daksadaksa 

INVALID_FIELD error

While calling an UPSERT() I am getting this error:
 
INVALID_FIELD; Field name provided, Magnet__MTRID__c does not match an External ID for Magnet__EmailTracking__c
 
I am using the Partner wsdl ver 9. I have checked the clients accounts and verified that the fields do exist. Also, only some SF accounts seem to be getting this error.
 
Any help is appreciated. Thanks
DK
daksadaksa
My code is as follows:
 

_saveResult = SalesforceServiceObject.upsert("Magnet__MTRID__c", EmailObject);

 

Thanks
DK