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]
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.
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:
In the target sandbox, delete the existing incomplete version of the affected agent. Agent versions cannot be overwritten.
Redeploy the active/committed version of the agent from a supported source org.
Include the following components for the specific version being deployed:
Bot / BotVersion
AiAuthoringBundle
GenAIPlannerBundle
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.
005460850

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.