Failed to obtain the org list from the Salesforce CLI

Issue #1965 resolved
Patricio Bird created an issue

I am trying to create an OAuth connection for one of my orgs and I keep getting the following error from Salesforce CLI:

Failed to obtain the org list from the Salesforce CLI:
• status = 1
• message = Unexpected argument: --skipconnectionstatus
See more help with --help

I have tried to downgrade the version as suggested on another ticket (sfdx plugins:install salesforcedx@48.10.1) and I have also updated it to the latest version, but still having the same error.

IntelliJ Version:

IntelliJ IDEA 2021.2 (Community Edition)
Build #IC-212.4746.92, built on July 27, 2021
Runtime version: 11.0.11+9-b1504.13 amd64

Illuminated Cloud Version: 2.1.8.6

Comments (4)

  1. Scott Wells repo owner

    If your CLI isn't recognizing the --skipconnectionstatus argument of force:org:list, it's either dated or corrupt. I'd recommend you do a full uninstall/reinstall of the CLI as I've seen that help a few folks who had this issue in the past. If that doesn't help, please try running sfdx force:org:list --skipconnectionstatus from the command-line. If that also fails, you'll need to log a bug with the CLI team:

    https://github.com/forcedotcom/cli/issues

  2. Scott Wells repo owner

    Resolving as I've always seen an uninstall/reinstall fix this (at least in the small handful of time I've seen this issue). If it isn't fixed by that, and if it also doesn't reproduce from the raw command-line, feel free to reopen.

  3. Log in to comment