-
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] - Flow Definition Metadata Type Error #2509
Comments
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. |
Hello @o-olaosebikan 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
version: |
Hello @o-olaosebikan, it looks like you might have a typo in your metadata suffix. Could you give that a try and let me know if it solves your issue? |
You are packaging metadata in mdapi format. Solution is to convert the source in your project to source format and package that source. |
I have the same issue. Trying to create a new version on an existing package will generate this error: Could not infer a metadata type. below ouput of sf version --verbose --json { |
@yehielz can you try using latest sf v2? you are using sf v1.86.7-legacy.0 |
Thanks for your reply. My issue was related to the fact that I had metadata in md format within the project. |
Summary
Version:
o.olaosebikan@oolaose-ltmgjbv ~ % sf --version @salesforce/cli/2.11.8 darwin-arm64 node-v18.15.0
I was trying to create a package version but received an error while trying
sf package version create --package "*********" --installation-key "******" --wait 10
And I am receiving this error:
`Error (1): /var/folders/qx/c80y96js615bp6bws45grfmr0000gp/T/0HoQT00000000060AA-c5f451c63ac6efc461e283ff09298baf/md-files/flowDefinitions/AbandonedCartFlow.flowDefinitio: Could not infer a metadata type
Try this:
A metadata type lookup for "AbandonedCartFlow.flowDefinitio" found the following close matches:
-- Did you mean ".flowDefinition" instead for the "FlowDefinition" metadata type?
`
I was hoping I could get some assistance with this as I do have the right suffix for the metadata type in my project structure.
Thanks in advance!
The text was updated successfully, but these errors were encountered: