You need to sign in to do that
Don't have an account?
Shreya Tripathi
SFDX: Retrieve Source from Org failed to run
Hi,
I am trying to retreive source from my org but keep getting the error-SFDX: Retrieve Source from Org failed to run.
I have tried-
updating the salesforce cli extension and also salesforce extension to the latest - v 50.17.0 I have updated the salesforce CLI to latest version- 7.85
still getting the error. Plus when i use the latest version i get additional error-
Error running command sfdx.force.source.retrieve.component: Running the contributed command: 'sfdx.force.source.retrieve.component' failed.. This is likely caused by the extension that contributes sfdx.force.source.retrieve.component.
I tried downgrading the extension to version 49.2 still getting the error- SFDX: Retrieve Source from Org failed to run.
message in output -
name": "UnexpectedFileFound",
"message": "Unexpected file found in package directory: \\main\\default\\surveySettings\\Survey.survey-meta.xml",
"exitCode": 1,
I am trying to retreive source from my org but keep getting the error-SFDX: Retrieve Source from Org failed to run.
I have tried-
updating the salesforce cli extension and also salesforce extension to the latest - v 50.17.0 I have updated the salesforce CLI to latest version- 7.85
still getting the error. Plus when i use the latest version i get additional error-
Error running command sfdx.force.source.retrieve.component: Running the contributed command: 'sfdx.force.source.retrieve.component' failed.. This is likely caused by the extension that contributes sfdx.force.source.retrieve.component.
I tried downgrading the extension to version 49.2 still getting the error- SFDX: Retrieve Source from Org failed to run.
message in output -
name": "UnexpectedFileFound",
"message": "Unexpected file found in package directory: \\main\\default\\surveySettings\\Survey.survey-meta.xml",
"exitCode": 1,
The issue might be because of latest CLI version. Can you try using sfdx.source ?
Check below reference:
https://github.com/forcedotcom/cli/issues/811
Hope this helps....
Thanks,
This appears to be an issue with an older version of the Salesforce CLI creating the folder in the wrong place, and then newer versions of the CLI (with that error fixed) don't know what to do with it.