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
steve_andersensteve_andersen IDE error with custom object

I created a custom object and created a lookup relationship to Contact. I then pulled it via the IDE ( I then tried to modify it but always got this error on the Contact lookup field:

cvc-complex-type.2.4.a: Invalid content was found starting with element 'relationshipLabel'. One 
 of '{"":relationshipName, "
 2006/04/metadata":required, "":restrictedAdminField, 
 "":scale, "
 metadata":startingNumber, "":summarizedField, "http://":summaryFilterItems, "
 metadata":summaryForeignKey, "":summaryOperation, 
 "":trueValueIndexed, "
 metadata":type}' is expected.

The error is thrown here:

Since the file was unaltered from the way created it, I'm not sure what to do. I appear to have the latest IDE.



What endpoint URL are you using (including API version #)?  Are you connecting to an organization that has been upgraded to Summer '08, or are you still working with Spring '08?

The IDE v12.0.2 must be used with a version 12 endpoint, regardless of whether you're connecting to Spring '08 or Summer '08.  If you point it to a version 13 endpoint, its behavior will be unpredictable.

Hey Jon,

I'm going to this end point: in a production org.