All Collections
Troubleshooting
Salesforce Validation Errors
Resolving Validation Errors - "Must Specify a Non-Empty Label for the Custom Object"
Resolving Validation Errors - "Must Specify a Non-Empty Label for the Custom Object"

Validation error "Must Specify a Non-Empty Label for the Custom Object" was surfaced during a deployment

Vincent Maltby avatar
Written by Vincent Maltby
Updated over a week ago

Explanation of the error:

This Salesforce error that Gearset is surfacing is usually encountered when only selected parts of a custom object are being deployed (partial deployment) and a required tag is not present in the deployment.

Most likely this is caused when a new part of a custom object is created, but we are deploying through a Delta CI Job and therefore the entire custom object is either not present or the tag is not being surfaced to Gearset from Salesforce.

Resolution:

To work around this issue commit a manual compare and deploy for the new custom object.

Further examples of this Salesforce validation error can be found here:

Disclaimer: This error is returned by Salesforce directly, rather than Gearset. Even so, we offer guidance based on our combined experience with the Metadata API. Where possible, we try to help guide you to fix or avoid this error. In the case that this isn't possible, we may need to direct you to Salesforce support for further clarification.

Did this answer your question?