-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Getting "Couldn't infer metadata" type consistently on the conversion command from source to mdapi format for some of the newly-used SF Component Type #3181
Comments
Hello @Zenithoriumatic 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
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. |
Awaiting any response on this matter! |
@Zenithoriumatic According to our metadata support, those types should be supported. It's possible that you're using an older version of |
|
Hello @Zenithoriumatic 👋 It looks like you're using an outdated version of Salesforce CLI. Moving to After you move to the latest version of |
@Zenithoriumatic |
The thing is we use docker image, can we update sf version within the image, not right? |
This is the image we leverage: image: salesforce/salesforcedx:latest-full |
Do you recommend any latest docker image to be kept in our yaml script which should put sf latest version in use while performing validation and deployment? |
I don't think that docker image is maintained anymore. Take a look at our docs on docker images: https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_docker.htm |
Well, I've updated my docker image to the one mentioned in your provided resource and you know what, it worked. Thankful to your reverts to my on-demand asks, much appreciated. Best Regards, |
Getting "Couldn't infer metadata" type consistently on the conversion command from source to mdapi format for some of the newly-used SF Component Types that includes:
GenAiFunction
GenAiPlanner
GenAiPluggin
MessagingChannel, etc.
Note that we are using we tried every latest version till 61.0 configuring in sfdx.json, the issue remains the same.
We noticed that MessagingChannel is getting validated successfully (both through source as well as mdapi format) when done through SFDX CLI in local, but failed via CI/CD.
Having said that, we assumed the same for GenAi related components when done locally, but it failed in both source and mdapi, both when done locally and through CI/CD.
Kindly assist on this matter urgently, thanks.
Best Regards,
Utkarsh
The text was updated successfully, but these errors were encountered: