Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sf org list shape - Error (1): Unknown config name: org-metadata-rest-deploy #2127

Closed
alan-morey opened this issue May 10, 2023 · 2 comments
Closed
Labels
bug Issue or pull request that identifies or fixes a bug investigating We're actively investigating this issue

Comments

@alan-morey
Copy link

Summary

Receiving an error when executing sf org list shape if org-metadata-rest-deploy config variable is set.

$ sf org list shape
Installing plugin signups... ⣯ [2/4] Fetching packages...
warning "@salesforce/plugin-signups > @oclif/core > [email protected]" has unmet peer dependency "@types/node@*".
Installing plugin signups... installed v1.4.14
Error (1): Unknown config name: org-metadata-rest-deploy.

Steps To Reproduce:

  1. Configure CLI with org-metadata-rest-deploy config variable
$ sf config set org-metadata-rest-deploy=true
Set Config
========================================
| Name                     Value Success 
| ──────────────────────── ───── ─────── 
| org-metadata-rest-deploy true  true 
  1. Execute command: sf org list shape

Expected result

The appropriate output from the command

Actual result

Error message is displayed

Error (1): Unknown config name: org-metadata-rest-deploy.

System Information

CLI Version:
        @salesforce/cli/1.77.6

 Architecture:
        linux-x64

 Node Version:
        node-v18.16.0

 Plugin Version:
        @oclif/plugin-autocomplete 2.1.9 (core)
        @oclif/plugin-commands 2.2.14 (core)
        @oclif/plugin-help 5.2.9 (core)
        @oclif/plugin-not-found 2.3.23 (core)
        @oclif/plugin-plugins 3.0.1 (core)
        @oclif/plugin-search 0.0.17 (core)
        @oclif/plugin-update 3.1.13 (core)
        @oclif/plugin-version 1.3.3 (core)
        @oclif/plugin-warn-if-update-available 2.0.36 (core)
        @oclif/plugin-which 2.2.19 (core)
        @salesforce/cli 1.77.6 (core)
        apex 2.2.15 (core)
        auth 2.7.14 (core)
        data 2.3.14 (core)
        deploy-retrieve 1.8.18 (core)
        info 2.6.10 (core)
        limits 2.3.13 (core)
        login 1.2.8 (core)
        org 2.7.3 (core)
        schema 2.3.10 (core)
        settings 1.4.6 (core)
        signups 1.4.14 (user)
        sobject 0.1.18 (core)
        source 2.10.7 (core)
        telemetry 2.2.0 (core)
        templates 55.4.13 (core)
        trust 2.4.14 (core)
        user 2.3.10 (core)
        gr-sfdx-plugin 0.0.0 (link) /home/alan.morey/repos/salesforce/gr-sfdx-plugin

 OS and Version:
        Linux 5.19.0-40-generic

 Shell:
        zsh

 Root Path:
        /home/alan.morey/.npm-packages/lib/node_modules/@salesforce/cli

Additional information

When the config variable org-metadata-rest-deploy is unset then the error is not produced.

@alan-morey alan-morey added the investigating We're actively investigating this issue label May 10, 2023
@github-actions
Copy link

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 mshanemc added the bug Issue or pull request that identifies or fixes a bug label May 11, 2023
@git2gus
Copy link

git2gus bot commented May 11, 2023

This issue has been linked to a new work item: W-13189905

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug investigating We're actively investigating this issue
Projects
None yet
Development

No branches or pull requests

2 participants