Loading

Salesforce Error In Prompt Builder When Previewed in Sandboxes: "Error resolving Einstein Search retriever: <retriever name>"

Publish Date: Sep 8, 2025
Description

In a sandbox which is refreshed or newly created, you may see the exception "Error resolving Einstein Search retriever: <retriever name>" when you preview the prompt template in Prompt Builder.

Resolution

The error resolving the Einstein Search retriever, is thrown due to a known limitation related to retrievers in refreshed or newly created sandboxes. To resolve the issue, follow the steps below:

  1. Open Data Cloud App
  2. Navigate to "Einstein Studio"
  3. Open "Retrievers"
  4. Select the affected Retriever
  5. Click on "Edit Version <number>"
  6. Without making any changes, click on "Save as New Version"
  7. Activate the new version. Activating the new version will trigger a backend sync job, resolving the issue.
Please note that the information in this article does not apply to Default Retrievers, as they cannot be edited. If changes are required, users should instead create either a new Custom Retriever or a new Search Index to meet their needs.
Additional Resources
 
 
 
Knowledge Article Number

004575665

 
Loading
Salesforce Help | Article