-
Notifications
You must be signed in to change notification settings - Fork 78
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
Error running force:source:retrieve: XML parse errors reported #322
Comments
Using the same package.xml with sfdx force:mdapi:retrieve works fine. |
@jeremyhiggs can you run the command with --dev-debug and send us the output. We have a feeling this issue has to do with a specific metadata type. We are also going to take a look at the error message and make some updates to make it more helpful in the future. |
sfdx:core TRACE Setup child 'SourceRetrieveCommand' logger instance +0ms ERROR running force:source:retrieve: Missing one of the following parameters: manifest metadata sourcepath packagenames MissingRequiredParam: Missing one of the following parameters: manifest metadata sourcepath packagenames sfdx:SourceRetrieveCommand ERROR [ '\u001b[1mERROR running force:source:retrieve: \u001b[22m', |
Do you have any insights into how to fix this? |
@jeremyhiggs, is there a possibility to share the source code? Or, could you please create a salesforce support ticket and let us know the case number so we can investigate this further?Thank you. |
Would you need the source code for the manifest? I can do that. |
Hey @jeremyhiggs - your debug output is a different error than the one you posted about. It is for In addition, the package.xml is not enough. We need the source that is causing the XML parse error. So we would either need a ZIP of your entire source, OR a simple repository that reproduces the problem with a scratch org create, deploy, then retrieve. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance. |
Summary
With recent versions of SFDX and Salesforce, I am receiving XML parse errors (without any details) when trying to retrieve source from the production instance.
Steps To Reproduce:
Expected result
It should have retrieved the source!
Actual result
Using specified username x@x.com
ERROR running force:source:retrieve: XML parse errors reported
Additional information
Feel free to attach a screenshot.
Package.xml (it contains custom objects, so won't work for anyone else without removing them.)
package.xml.zip
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.48.0-a71f8c6899 darwin-x64 node-v10.15.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-autocomplete 0.1.5 (core)
@oclif/plugin-commands 1.2.3 (core)
@oclif/plugin-help 2.2.3 (core)
@oclif/plugin-not-found 1.2.3 (core)
@oclif/plugin-plugins 1.7.9 (core)
@oclif/plugin-update 1.3.9 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.7 (core)
analytics 1.7.1 (core)
apexlink 0.5.0
etcopydata 0.5.7
generator 1.1.2 (core)
salesforcedx 48.3.1 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.5 (core)
├─ salesforcedx-templates 48.4.0 (core)
└─ salesforce-alm 48.4.0 (core)
sfdx-cli 7.48.0 (core)
sfdx-retrieve-deploy-companion 1.0.6
texei-sfdx-plugin 1.3.2
OS and version:
MacOS 10.15.3
The text was updated successfully, but these errors were encountered: