wadewegner / deploy-to-sfdx

An open-source and community-driven tool for one-click Salesforce DX deployments from public repositories to Scratch Orgs
https://deploy-to-sfdx.com
Apache License 2.0
98 stars 22 forks source link

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 6 years ago

b-wilder commented 6 years ago

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.

4) 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. 3) Set instance url to https://firefly-x-wing-447882.my.salesforce.com. 2) Successfully cloned https://github.com/b-wilder/sfdc-trigger-framework. 1) 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