forcedotcom / cli

Salesforce CLI
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/
BSD 3-Clause "New" or "Revised" License
493 stars 78 forks source link

Unsupported metadata type: CustomIndex #1307

Closed ghost closed 2 years ago

ghost commented 2 years ago

Summary

We can’t retrieve the specified metadata object: CustomIndex. Certain metadata types, like MyObjectc.Testc 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 MyObjectc.Testc 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

github-actions[bot] commented 2 years ago

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.

mshanemc commented 2 years ago

sfdx plugins:uninstall salesforcedx

background: https://github.com/forcedotcom/cli/blob/main/releasenotes/sfdx/README.md#71063-june-17-2021

reopen if that doesn't solve it for you.

mshanemc commented 2 years ago

did you run sfdx update afterward?

ghost commented 2 years ago

Sorry I'm mixing up the 2 errors. This issue is resolved with the fix, the WaveDataset isn't. I'll put the comment on that issue.