Skip to content

Unsupported metadata type: CustomIndex #1307

Closed

Description

Summary

We can’t retrieve the specified metadata object: CustomIndex. Certain metadata types, like MyObject__c.Test__c are not currently supported by the CLI.

Steps To Reproduce:

  1. Create a text field
  2. Mark field as an external ID field which will make the field Indexed

Expected result

The field should extract when using the pull command

Actual result

Received an error
We can’t retrieve the specified metadata object: CustomIndex. Certain metadata types, like MyObject__c.Test__c are not currently supported by the CLI.
File a bug here: https://github.com/forcedotcom/cli/issues and provide the name of the unsupported metadata type

System Information

{
"cliVersion": "sfdx-cli/7.129.0",
"architecture": "darwin-x64",
"nodeVersion": "node-v16.13.0",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.2.3 (core)",
"@oclif/plugin-not-found 1.2.4 (core)",
"@oclif/plugin-plugins 1.10.1 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.0 (core)",
"@oclif/plugin-which 1.0.3 (core)",
"alias 1.1.22 (core)",
"auth 1.7.6 (core)",
"config 1.2.48 (core)",
"generator 1.2.1 (core)",
"salesforcedx 52.0.0",
"├─ data 0.4.11",
"├─ limits 1.2.1",
"├─ schema 1.0.7",
"├─ org 1.6.6",
"├─ custom-metadata 1.0.12",
"├─ user 1.3.0",
"├─ templates 51.5.0",
"├─ apex 0.2.2",
"├─ @salesforce/sfdx-plugin-lwc-test 0.1.7",
"└─ salesforce-alm 52.0.0",
"sfdx-cli 7.129.0 (core)",
"sfdx-git-delta 4.11.0",
"source 1.5.3 (core)",
"telemetry 1.3.0 (core)",
"trust 1.0.10 (core)"
],
"osVersion": "Darwin 21.1.0"
}

Additional information

Activity

  1. ghost added
    investigating
    on Dec 2, 2021
  2. github-actions commented on Dec 2, 2021

    @github-actions

    Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

  3. mshanemc commented on Dec 2, 2021

    @mshanemc
    Contributor
  4. mshanemc commented on Dec 2, 2021

    @mshanemc
    Contributor

    did you run sfdx update afterward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    investigating

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions