3

I installed the SFDX CLI on my mac, signed up for a dev hub trial, and successfully authorized the devhub org using the following command:

sfdx force:auth:web:login -d -a DevHub

When I try to open the org using this command (--json is used to get a more detailed error):

sfdx force:org:open -u DevHub --json

I get the following error response:

{
    "message":"The requested resource does not exist",
    "status":1,
    "stack":"NOT_FOUND: The requested resource does not exist\n
    at HttpApi.getError (/Users/belgart/.local/share/sfdx/plugins/node_modules/jsforce/lib/http-api.js:250:13)\n
    at /Users/belgart/.local/share/sfdx/plugins/node_modules/jsforce/lib/http-api.js:95:22\n
    at tryCallOne (/Users/belgart/.local/share/sfdx/plugins/node_modules/promise/lib/core.js:37:12)\n
    at /Users/belgart/.local/share/sfdx/plugins/node_modules/promise/lib/core.js:123:15\n
    at flush (/Users/belgart/.local/share/sfdx/plugins/node_modules/asap/raw.js:50:29)\n
    at _combinedTickCallback (internal/process/next_tick.js:67:7)\n
    at process._tickCallback (internal/process/next_tick.js:98:9)",
    "name":"NOT_FOUND",
    "warnings":[]
}

Has anyone else worked out a resolution to this issue?

  • 1
    What version of the plugin are you using ? If you're using the pre release one, try using the latest stable release by running sfdx plugins:install salesforcedx@latest – Fabien Taillon Aug 16 '17 at 15:27
  • Running that command seemed to fix it even though my version didn't change. I was on go1.7.3 sfdxstable – Brock Elgart Aug 17 '17 at 12:10
4

Restarting my computer and running

sfdx plugins:install salesforcedx@latest

fixed this for me

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.