Skip to content

Not able to deploy GENAIFunction metadata #3164

Closed as not planned
Closed as not planned
@NarendReddy

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

Metadata

Assignees

No one assigned

    Labels

    more information requiredIssue requires more information or a response from the customerstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions