-
Notifications
You must be signed in to change notification settings - Fork 407
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
UNSUPPORTED_API_VERSION: Retrieving from Sandbox #836
Comments
Hi @borkya, can you confirm you do not have the pre-release version of the sfdx cli installed by running |
Hi @lcampos
|
@lcampos |
@borkya you can find the api version by going to the sfdx-project.json in the root of your project directory, it should look something like this: |
Hi @vmarasow
I have already tried that before opening the bug, see Steps to reproduce.
Swapnil
Sent from my iPhone
… On Dec 26, 2018, at 9:33 AM, Velvel Marasow ***@***.***> wrote:
@borkya you can find the api version by going to the sfdx-project.json in the root of your project directory, it should look something like this: { "packageDirectories": [ { "path": "force-app", "default": true } ], "namespace": "", "sfdcLoginUrl": "https://login.salesforce.com", "sourceApiVersion": "45.0" }
Update the sourceApiVersion to "44.0" to fix the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I ran into the same error, see below for how I resolved the problem... 15:04:52.978 sfdx force:source:retrieve --manifest c:\Users\BoonPlus\Documents\SFDX Projects\DX\manifest\package.xml |
Hi @BoonPlus That fixed it , thanks for your help! |
@borkya Glad that it worked for you. |
I'm closing this since the configuration changes addressed the original issue/question. |
Hi @BoonPlus |
Using instruction from this guide to setup VS Code with a Sandbox Org.
https://github.com/forcedotcom/salesforcedx-vscode/wiki/Develop-Against-Any-Org-in-Visual-Studio-Code#getting-started
Steps To Reproduce:
Created a project
Authorized the Org
When tried to Retrieve metadata from Org using SFDX: Retrieve Source from Org
Getting error :
15:14:32.122 sfdx force:source:retrieve --manifest c:\VSCODE\RDev\RDEV1\manifest\package.xml
ERROR: UNSUPPORTED_API_VERSION: Invalid Api version specified on URL.
15:14:38.163 sfdx force:source:retrieve --manifest c:\VSCODE\RDev\RDEV1\manifest\package.xml ended with exit code 1
Additional Info:
Version details :
sfdc-project.json
"sourceApiVersion": "44.0"
package.xml
44.0
Tried using 43.0 and 42.0 as well with same results.
VS Code Version:
SFDX CLI Version:
44.11.0
OS and version:
Windows 10, Version 10.0.17134 Build 17134
The text was updated successfully, but these errors were encountered: