Skip to content

Unable to Retrieve AccountPlanObjMeasCalcDef Metadata Type #3395

@autorabitsurya

Description

@autorabitsurya

Summary

It is retrieving via the workbench successfully and attaching that metadata.

retrieve_09SPl00000Ns9M1MAJ.zip

zip file for [reference.]

Ran this command via VSCode SF CLI

Command: sf project retrieve start --metadata "AccountPlanObjMeasCalcDef:Opportunity_Renewals_Growth,Opportunity_Revenue_Targets"

Error (RegistryError): Missing metadata type definition in registry for id 'AccountPlanObjMeasCalcDef'.

Try this: Did you mean one of the following types? [AccountingFieldMapping,AccountingModelConfig,ActionPlanTemplate]

Confirm the metadata type name is correct. Validate against the registry at:
https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json

If the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:
https://developer.salesforce.com/docs/metadata-coverage

If the type is available via the Metadata API but not in the registry

Expected result

We expect it to retrieve this component as we looked at the metadata coverage doc and found its supported.

Actual result

It's failing with a missing metadata type definition in the registry

Additional information

System Information

Ran on @salesforce/cli/2.105.6 darwin-arm64 node-v22.18.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue or pull request that identifies or fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions