Loading

Resolving Error: Entity of type 'StandardValueSet' named <> cannot be found

Julkaisupäivä: Sep 16, 2026
Kuvaus

This error occurs when attempting to retrieve a Standard Value Set by name using the Metadata API (via SFDX/CLI manifest, Ant Migration Tool, or Workbench) and the specified name cannot be resolved. This can happen for several reasons: an incorrect metadata type was specified, the name doesn't match the documented API name exactly, or the Standard Value Set is not exposed for retrieval via Metadata API at all.

Ratkaisu
  1. Confirm metadata type. Ensure your manifest/package.xml specifies StandardValueSet and not GlobalValueSet — these are different metadata types and using the wrong one produces this same error.
  2. Confirm the exact API name. Standard Value Set names do not always match the picklist field's label shown in Setup. Check the official Salesforce Metadata API Developer Guide list of supported Standard Value Set names for the exact API name.
  3. Check if the value set is supported for retrieval. Not all Standard Value Sets — particularly newer or product-specific ones — are exposed via Metadata API. If the name is confirmed correct and documented but retrieval still fails, this is a current platform limitation rather than a configuration error on your end. There is no supported wildcard or discovery query for Standard Value Sets.
  4. If you've recently changed picklist values, retrieve the Standard Value Set again to confirm your changes are reflected — updates to the underlying field are not always immediately reflected in the retrievable definition.
If you've verified all of the above and retrieval still fails for a value set you believe should be supported, contact Salesforce Support with the exact Standard Value Set name and your manifest/retrieval method.
Knowledge-artikkelin numero

002620377

 
Ladataan
Salesforce Help | Article