Loading

Agentforce Agent Script Metadata Missing After Sandbox Refresh/Clone (Dev/Dev Pro)

Date de publication: Oct 6, 2026
Description

After refreshing a Developer or Developer Pro sandbox from Production, or cloning a previously refreshed Developer or Developer Pro sandbox, Agentforce agents may show missing or incomplete Agent Script content.

Symptoms can include:

  • A blank or incomplete authoring canvas for the agent.

  • Missing configuration for the agent's script.

  • The following error when opening the agent in Agent Builder:

    This page has an error. You might just need to refresh it.
    [Agent definition model not found]

Cause

Agentforce Agent Script content is stored in a content management system rather than as standard org metadata. The copy process for Developer and Developer Pro sandboxes does not carry this content over during a refresh or clone. Only a reference to the content is copied, which can result in the agent appearing incomplete or broken in the sandbox.

Résolution

Developer and Developer Pro sandboxes are not currently a supported environment for Agentforce Agent Script authoring.

If an agent is impacted after a refresh or clone, restore the agent as follows:

  1. In the target sandbox, delete the existing incomplete version of the affected agent. Agent versions cannot be overwritten.

  2. Redeploy the active/committed version of the agent from a supported source org.

  3. Include the following components for the specific version being deployed:

    • Bot / BotVersion

    • AiAuthoringBundle

    • GenAIPlannerBundle

  4. Confirm that the source and target orgs are on the same Salesforce release version before deploying. Version mismatches between environments can also affect agent behavior.

For Agentforce Agent Script development and testing, use a Full or Partial Copy sandbox, as these environments are not affected by this limitation.

Numéro d’article de la base de connaissances

005460850

 
Chargement
Salesforce Help | Article