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
JLAW17JLAW17 

UPSERT NOT WORKING...in strange ways

I am trying to do an upsert into the Accounts table using the API, using the exact same code that I use on another server to do the same.  In this case the result is coming back empty, and the data is not being placed into the Account records.

I have checked the following:
  • The unique external ID is in fact unique, so the upsert should be essentially an insert.  Even were that not the case, however, I imagine I should get a non-empty result containing information about the already existing record.
  • The connection is being made, and here's how I know:  If I try defining the sObject with a field that is not defined in my SFDC account, I get an error about the non-existent field.  I am using the partner.wsdl.xml, not the enterprise.wsdl.xml, so there is no record on *my* server as to the existence of fields.  Therefore a connection is being made.
Please help.  Thank you.
John