salesforcedx-vscode icon indicating copy to clipboard operation
salesforcedx-vscode copied to clipboard

Org Browser - retrieve or metadata is not working

Open SimonaIstrate31 opened this issue 2 years ago • 2 comments

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" }

SimonaIstrate31 avatar Apr 06 '22 12:04 SimonaIstrate31

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.

floralan avatar Apr 19 '22 20:04 floralan

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

marine-marsella avatar Jun 10 '22 08:06 marine-marsella

This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted.

github-actions[bot] avatar Oct 20 '22 02:10 github-actions[bot]