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
JP Nikko AM SystemsJP Nikko AM Systems 

Getting a must specify a non-empty plural object when deploying Custom Object

I am getting a Must specifiy a non-empty plural label when deploying a custom object in Eclipse from 1 sandbox to another. Checked the tab labels and it's set correctly. Is there a know reason for this error?
NagendraNagendra (Salesforce Developers) 
Hi JP,

The error "You must specify a non-empty label for CustomObject" happens when you try to deploy only selected fields from a custom object (partial deployment). When you subscribe for the entire custom object, the deployment succeeds (full deployment).
 
After investigation into the custom object metadata file in Eclipse, and found that the tags <label>, <plurallabel>, <nameField> etc. are not contained in the metadata file for the partial deployment. I tried to add those tags manually, but they were automatically removed again after building the project.

So it seems to be that Force.com IDE does not provide the required custom object tags in a partial deployment.

Please let us know if this helps.

Mark this as solved if it's resolved.

Regards,
Nagendra.