Description
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
- Open an issue https://github.com/forcedotcom/cli/issues
- Add the type via PR. Instructions: https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md