salesforcedx-vscode
salesforcedx-vscode copied to clipboard
Org Browser - retrieve or metadata is not working
Summary When using the OrgBrowser tool in VS Code, the following error occurs:
SyntaxError: Unexpected token c in JSON at position 4
Steps To Reproduce: Go to OrgBrowser while in a Repo in VS Code Refresh
Expected result OrgBrowser should have pulled the data from my org
Actual result SyntaxError: Unexpected token c in JSON at position 4
sfdx-project.json file:
{ "packageDirectories": [ { "path": "force-app", "default": true } ], "namespace": "", "sfdcLoginUrl": "https://test.salesforce.com", "sourceApiVersion": "54.0" }
Hi @SimonaIstrate31 , can you share what version of the Salesforce Extensions you're using? This can be found by searching for 'Salesforce' from the Marketplace tab on the left sidebar.
Hi, I've the same issue 😖 with my visual studio on my mac (macOs 12.4) my salesforce extension pack is in version 55.0.0 my sfdx-project.json is in version 55.0 too, and looks like this :
{
"packageDirectories": [
{
"path": "force-app",
"default": true
}
],
"namespace": "",
"sfdcLoginUrl": "https://test.salesforce.com",
"sourceApiVersion": "55.0"
}
Thanks for your help
This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted.