Skip to content
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

Unsupported Bundle Type: GenAiFunction, Missing metadata type definition in registry for id 'GenAiPluginInstructionDef' #3204

Closed
FabienTaillon opened this issue Feb 4, 2025 · 5 comments
Labels
bug Issue or pull request that identifies or fixes a bug validated Version information for this issue has been validated

Comments

@FabienTaillon
Copy link

Summary

While creating a Topic for Agentforce, pulling changes don't work because of metadata not supported by the CLI (but supported by the Metadata API).

Steps To Reproduce

Repo: https://github.com/FabienTaillon/agentforce-source-tracking

  • Create a Scratch Org
  • Push repo content
  • got to Einstein/Einstein Generative AI/Agent Studio/Agents
  • Click on the Agent name (Agentforce (Default)) then Open in Builder button
  • Under Topic Details click New/New Topic
  • Enter whatever information you want and save the topic, you don't have to select any action for the topic
  • Run sf project retrieve start

Expected result

Both GenAiFunction and GenAiPluginInstructionDef are supported by the Metadata API, so it should be pulled.

Actual result

Fails with the following error:

Error (UnsupportedBundleTypeError): Unsupported Bundle Type: GenAiFunction

Warning: Unable to find type GenAiPluginInstructionDef in registry
Warning: Unable to find type GenAiPluginInstructionDef in registry
@FabienTaillon FabienTaillon added the investigating We're actively investigating this issue label Feb 4, 2025
Copy link

github-actions bot commented Feb 4, 2025

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.

Copy link

github-actions bot commented Feb 4, 2025

Hello @FabienTaillon 👋 It looks like you didn't include the full Salesforce CLI version information in your issue.
Please provide the output of version --verbose --json for the CLI you're using (sf or sfdx).

A few more things to check:

  • Make sure you've provided detailed steps to reproduce your issue.
    • A repository that clearly demonstrates the bug is ideal.
  • Make sure you've installed the latest version of Salesforce CLI. (docs)
    • Better yet, try the rc or nightly versions. (docs)
  • Try running the doctor command to diagnose common issues.
  • Search GitHub for existing related issues.

Thank you!

@github-actions github-actions bot added more information required Issue requires more information or a response from the customer and removed investigating We're actively investigating this issue labels Feb 4, 2025
@FabienTaillon
Copy link
Author

{
  "architecture": "darwin-arm64",
  "cliVersion": "@salesforce/cli/2.74.6",
  "nodeVersion": "node-v22.12.0",
  "osVersion": "Darwin 24.2.0",
  "rootPath": "/Users/fabientaillon/.local/share/sf/client/2.74.6-02685ea",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.18 (core)",
    "@oclif/plugin-commands 4.1.17 (core)",
    "@oclif/plugin-help 6.2.22 (core)",
    "@oclif/plugin-not-found 3.2.37 (core)",
    "@oclif/plugin-plugins 5.4.26 (core)",
    "@oclif/plugin-search 1.2.19 (core)",
    "@oclif/plugin-update 4.6.26 (core)",
    "@oclif/plugin-version 2.2.20 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.31 (core)",
    "@oclif/plugin-which 3.2.26 (core)",
    "@salesforce/analytics 1.4.34 (user) published 9 days ago (Sun Jan 26 2025)",
    "@salesforce/cli 2.74.6 (core)",
    "apex 3.6.8 (core)",
    "api 1.3.3 (core)",
    "auth 3.6.87 (core)",
    "community 3.3.8 (user) published 24 days ago (Sat Jan 11 2025) (latest is 3.3.10)",
    "data 4.0.1 (core)",
    "deploy-retrieve 3.17.7 (core)",
    "dev 2.5.1 (user) published 77 days ago (Tue Nov 19 2024)",
    "info 3.4.32 (core)",
    "lightning-dev 1.10.0 (user) published 46 days ago (Thu Dec 19 2024)",
    "limits 3.3.44 (core)",
    "marketplace 1.3.7 (user) published 72 days ago (Sun Nov 24 2024)",
    "org 5.2.23 (core)",
    "packaging 2.9.12 (core)",
    "schema 3.3.46 (core)",
    "settings 2.4.10 (core)",
    "signups 2.6.10 (user) published 24 days ago (Sat Jan 11 2025) (latest is 2.6.12)",
    "sobject 1.4.49 (core)",
    "telemetry 3.6.29 (core)",
    "templates 56.3.35 (core)",
    "trust 3.7.55 (core)",
    "user 3.6.6 (core)",
    "@salesforce/sfdx-scanner 4.9.0 (user) published 6 days ago (Tue Jan 28 2025)",
    "lightning-flow-scanner 2.45.0 (user) published 2 days ago (Sun Feb 02 2025)",
    "sfdmu 4.38.0 (user) published 37 days ago (Sun Dec 29 2024)",
    "sfdx-hardis 5.18.1 (user) published 0 days ago (Tue Feb 04 2025)",
    "sfdx-plugin-source-read 1.4.2 (user) published 5 days ago (Thu Jan 30 2025)",
    "texei-sfdx-plugin 2.8.2 (user) published 17 days ago (Fri Jan 17 2025)"
  ]
}

@github-actions github-actions bot added validated Version information for this issue has been validated investigating We're actively investigating this issue and removed more information required Issue requires more information or a response from the customer labels Feb 4, 2025
@WillieRuemmele WillieRuemmele added bug Issue or pull request that identifies or fixes a bug and removed investigating We're actively investigating this issue labels Feb 4, 2025
Copy link

git2gus bot commented Feb 4, 2025

This issue has been linked to a new work item: W-17750901

@shetzel
Copy link
Contributor

shetzel commented Feb 26, 2025

Fix is in production CLI v2.78.3

@shetzel shetzel closed this as completed Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

3 participants