Skip to content
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

Getting error: "Error (1): No results to format" when trying to get the entity data #2800

Closed
rheacherian814 opened this issue Apr 2, 2024 · 5 comments
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated

Comments

@rheacherian814
Copy link

https://confluence.internal.salesforce.com/display/PLATFORMDX/Adding+2GP+Managed+Packaging+metadata+channel+support

I'm following this doc to have my entity be supported for packaging, and I have registered the entity (AffinityScoreDefinition) to the CLI in this repo, but I'm still getting that error when I run these commands:

sfdx force:mdapi:convert -r -d force-app/

which I believe should have resolved once my metadatype was registered (https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json).

Can't find any information on slack about this, can anyone help?

@rheacherian814 rheacherian814 added the investigating We're actively investigating this issue label Apr 2, 2024
Copy link

github-actions bot commented Apr 2, 2024

Hello @rheacherian814 👋 It looks like you didn't include the full Salesforce CLI version information in your issue.
Please provide the output of version --verbose --json for the CLI you're using (sf or sfdx).

A few more things to check:

  • Make sure you've provided detailed steps to reproduce your issue.
    • A repository that clearly demonstrates the bug is ideal.
  • Make sure you've installed the latest version of Salesforce CLI. (docs)
    • Better yet, try the rc or nightly versions. (docs)
  • Try running the doctor command to diagnose common issues.
  • Search GitHub for existing related issues.

Thank you!

@github-actions github-actions bot added more information required Issue requires more information or a response from the customer and removed investigating We're actively investigating this issue labels Apr 2, 2024
Copy link

github-actions bot commented Apr 2, 2024

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@rheacherian814
Copy link
Author

{
"architecture": "linux-x64",
"cliVersion": "@salesforce/cli/2.34.7",
"nodeVersion": "node-v20.11.1",
"osVersion": "Linux 5.14.0-362.18.1.el9_3.x86_64",
"rootPath": "/nix/store/5vxg9jzr8phqayd1rrl124mnc7xrpggp-sfdx-7.209.6",
"shell": "bash",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.0.13 (core)",
"@oclif/plugin-commands 3.2.0 (core)",
"@oclif/plugin-help 6.0.18 (core)",
"@oclif/plugin-not-found 3.0.14 (core)",
"@oclif/plugin-plugins 4.3.8 (core)",
"@oclif/plugin-search 1.0.20 (core)",
"@oclif/plugin-update 4.2.0 (core)",
"@oclif/plugin-version 2.0.14 (core)",
"@oclif/plugin-warn-if-update-available 3.0.14 (core)",
"@oclif/plugin-which 3.1.5 (core)",
"@salesforce/cli 2.34.7 (core)",
"apex 3.0.31 (core)",
"auth 3.3.27 (core)",
"data 3.1.11 (core)",
"deploy-retrieve 3.2.35 (core)",
"info 3.0.33 (core)",
"limits 3.1.14 (core)",
"marketplace 1.0.29 (core)",
"org 3.5.0 (core)",
"packaging 2.1.12 (core)",
"schema 3.1.9 (core)",
"settings 2.0.31 (core)",
"sobject 1.1.20 (core)",
"source 3.1.22 (core)",
"telemetry 3.1.17 (core)",
"templates 56.0.23 (core)",
"trust 3.3.17 (core)",
"user 3.3.4 (core)"
]
}

@github-actions github-actions bot added investigating We're actively investigating this issue validated Version information for this issue has been validated and removed more information required Issue requires more information or a response from the customer labels Apr 2, 2024
@cristiand391
Copy link
Member

your type was included in SDR v10.7.0 (and a small fix about the suffix included in 10.7.1):
https://github.com/forcedotcom/source-deploy-retrieve/blob/main/CHANGELOG.md#1071-2024-04-01

The CLI needs to use that SDR version (or higher) to recognize the type in your project.

"deploy-retrieve 3.2.35 (core)",

the force:mdapi:convert command is part of the deploy-retrieve plugin, v3.2.35 is using SDR 10.5.3 so that explains why it doesn't work.

The available nightly has SDR v10.7.0 but it may not work because of the suffix fix, maybe wait for tomorrow to get the new nightly and try again?:
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli_rc.htm

@rheacherian814
Copy link
Author

Updating the nightly worked for me -- thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

2 participants