Skip to content

RegistryError when retrieving AiAuthoringBundle - Missing AIConvSummarizationConfig metadata type definition #3606

Description

@tgonstas

Summary

Retrieving an AiAuthoringBundle fails with RegistryError: Missing metadata type definition in registry for id 'AIConvSummarizationConfig', even though the package.xml only requests an AiAuthoringBundle. The error occurs with the latest Salesforce CLI (2.143.6) and deploy-retrieve (3.24.58), suggesting the CLI registry is missing support for an internal metadata type referenced during retrieval.

Steps To Reproduce

-Create package xml with AiAuthoringBundle

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>YOURAGENTNAME</members>
        <name>AiAuthoringBundle</name>
    </types>
    <version>67.0</version>
</Package>

-Run sf project retrieve start --json --manifest PACKAGE.XML

Expected result

AiAuthoringBundle is extracted

Actual result

Retrieving an AiAuthoringBundle fails with RegistryError: Missing metadata type definition in registry for id 'AIConvSummarizationConfig', despite the manifest only requesting AiAuthoringBundle. This suggests the CLI is resolving or exposing an unexpected dependency (AIConvSummarizationConfig) during retrieval, but the metadata type is not present in the local registry, resulting in a registry error instead of completing the retrieve.
Stack trace:

{
  "name": "RegistryError",
  "message": "Missing metadata type definition in registry for id 'AIConvSummarizationConfig'.",
  "exitCode": 1,
  "actions": [
    "Did you mean one of the following types? [AIApplicationConfig,UIObjectRelationConfig]",
    "",
    "Confirm the metadata type name is correct. Validate against the registry at:\n<https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json>\n\nIf the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:\n<https://developer.salesforce.com/docs/metadata-coverage>\n\nIf the type is available via Metadata API but not in the registry\n\n- Open an issue <https://github.com/forcedotcom/cli/issues>\n- Add the type via PR. Instructions: <https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md>"
  ],
  "context": "RetrieveMetadata",
  "stack": "RegistryError: Missing metadata type definition in registry for id 'AIConvSummarizationConfig'.\n
  "cause": "undefined",
  "warnings": [],
  "code": "RegistryError",
  "status": 1,
  "commandName": "RetrieveMetadata"
}

System Information

{
  "architecture": "win32-x64",
  "cliVersion": "@salesforce/cli/2.143.6",
  "nodeVersion": "node-v22.23.1",
  "osVersion": "Windows_NT 10.0.26200",
  "rootPath": "C:\\Users\\ThomasGonstas\\AppData\\Local\\sf\\client\\2.143.6-4b4ce38",
  "shell": "cmd.exe",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.53 (core)",
    "@oclif/plugin-commands 4.1.60 (core)",
    "@oclif/plugin-help 6.2.53 (core)",
    "@oclif/plugin-not-found 3.2.88 (core)",
    "@oclif/plugin-plugins 5.4.84 (core)",
    "@oclif/plugin-search 1.2.53 (core)",
    "@oclif/plugin-update 4.7.54 (core)",
    "@oclif/plugin-version 2.2.50 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.68 (core)",
    "@oclif/plugin-which 3.2.58 (core)",
    "@salesforce/cli 2.143.6 (core)",
    "agent 1.44.4 (core)",
    "apex 3.9.38 (core)",
    "api 1.3.46 (core)",
    "auth 4.4.5 (core)",
    "data 4.0.110 (core)",
    "deploy-retrieve 3.24.58 (core)",
    "info 3.4.147 (core)",
    "limits 3.3.98 (core)",
    "marketplace 1.3.38 (core)",
    "org 5.11.16 (core)",
    "packaging 2.30.1 (core)",
    "schema 3.3.122 (core)",
    "settings 2.4.92 (core)",
    "sobject 1.4.121 (core)",
    "telemetry 3.8.27 (core)",
    "templates 56.18.13 (core)",
    "trust 3.8.33 (core)",
    "user 3.10.4 (core)"
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    investigatingWe're actively investigating this issuevalidatedVersion information for this issue has been validated

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions