-
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
Not able to deploy GENAIFunction metadata #3164
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 @NarendReddy 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
I don't know what CLI version and plugins you're using since you didn't provide that and it's essential when troubleshooting issues like these. However, assuming you're using the latest version and plugins, I would delete the source files in your |
@NarendReddy - if my instructions solve your issue please close. If not, let us know any updates. Deploying and retrieving |
When I try to deploy GENAIFunction metadata using gitlab , I am getting the below error . I dont see any issues with extensions and directory names looks correct.
skip invalid line with medataname
Error (1): /builds/it/salesforce/salesforce-core/force-app/main/default/genAiFunctions/Get_Records_by_Name/Get_Records_by_Name.genAiFunction-meta.xml: Could not infer a metadata type
Try this:
A metadata type lookup for "Get_Records_by_Name.genAiFunction-meta.xml" found the following close matches:
-- Did you mean ".function-meta.xml" instead for the "FunctionReference" metadata type?
Additional suggestions:
Confirm the file name, extension, and directory names are correct. Validate against the registry at:
https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json
If the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:
https://developer.salesforce.com/docs/metadata-coverage
If the type is available via Metadata API but not in the registry
The text was updated successfully, but these errors were encountered: