Skip to content

sf project deploy start -d cc-employee-app #129

@JFoxUK

Description

@JFoxUK

Summary

jonathanfox@Mac coral-cloud % sf project deploy start -d cc-employee-app
Error (TypeInferenceError): /Users/jonathanfox/Desktop/coral-cloud/cc-employee-app/main/default/genAiPlugins/Customer_Service_Assistant.genAiPlugin-meta.xml: Could not infer a metadata type

Try this:

A metadata type lookup for "Customer_Service_Assistant.genAiPlugin-meta.xml" found the following close matches:
-- Did you mean ".uiplugin-meta.xml" instead for the "UiPlugin" 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

Salesforce Org Type

Scratch Org

Steps To Reproduce

sf project deploy start -d cc-employee-app

Current Behavior

jonathanfox@Mac coral-cloud % sf project deploy start -d cc-employee-app
Error (TypeInferenceError): /Users/jonathanfox/Desktop/coral-cloud/cc-employee-app/main/default/genAiPlugins/Customer_Service_Assistant.genAiPlugin-meta.xml: Could not infer a metadata type

Try this:

A metadata type lookup for "Customer_Service_Assistant.genAiPlugin-meta.xml" found the following close matches:
-- Did you mean ".uiplugin-meta.xml" instead for the "UiPlugin" 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

Expected Behavior

Success.

Relevant Log Output

jonathanfox@Mac coral-cloud % sf project deploy start -d cc-employee-app
Error (TypeInferenceError): /Users/jonathanfox/Desktop/coral-cloud/cc-employee-app/main/default/genAiPlugins/Customer_Service_Assistant.genAiPlugin-meta.xml: Could not infer a metadata type

Try this:

A metadata type lookup for "Customer_Service_Assistant.genAiPlugin-meta.xml" found the following close matches:
-- Did you mean ".uiplugin-meta.xml" instead for the "UiPlugin" 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>

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions