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

he instance URL is not set, or is incorrect for the given access token. API Error: Destination URL not reset. The URL returned from login must be set. #44

Open
b-wilder opened this issue Jul 27, 2018 · 0 comments

Comments

@b-wilder
Copy link

b-wilder commented Jul 27, 2018

When I try to use the Deploy to SalesforceDX button on a repo I forked, I get this error message:

"GUID: d55b3dbb-c553-ba46-f75c-a9c79d3655f6 ERROR: The instance URL is not set, or is incorrect for the given access token. API Error: Destination URL not reset. The URL returned from login must be set. Try this: Verify that the instanceUrl config setting is set to the instance that the access token belongs to. Use "sfdx force:config:list" to view your current setting. Use "sfdx force:config:set instanceUrl= --global" to set your instanceUrl to the correct instance.

  1. GUID: d55b3dbb-c553-ba46-f75c-a9c79d3655f6 ERROR: The instance URL is not set, or is incorrect for the given access token. API Error: Destination URL not reset. The URL returned from login must be set. Try this: Verify that the instanceUrl config setting is set to the instance that the access token belongs to. Use "sfdx force:config:list" to view your current setting. Use "sfdx force:config:set instanceUrl= --global" to set your instanceUrl to the correct instance.
  2. Set instance url to https://firefly-x-wing-447882.my.salesforce.com.
  3. Successfully cloned https://github.com/b-wilder/sfdc-trigger-framework.
  4. Using .salesforcedx.yaml found in repository."

The result of sfdx force:config:list is:
"sfdx force:config:list
=== Config
NAME VALUE LOCATION
───────────────────── ─────────────────────────────────────────────── ────────
defaultdevhubusername DevHub Global
instanceUrl https://firefly-x-wing-447882.my.salesforce.com Global"

https://firefly-x-wing-447882.my.salesforce.com is the url for my DevHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant