Contact Us

August 15, 2024

May 13, 2026 3:39 pm

Resolving Einstein search data provider errors in Agentforce

Share with

Understanding the Error

The error message indicates that the data provider is either invalid or no longer exists. This can be caused by a variety of factors, including changes to the permission sets or the data space configuration.

The root cause of this issue is the lack of default data space enabled on the Data Cloud Architect permission set. This permission set is required to access and manage the Einstein Search data provider.

Troubleshooting Steps

The community member had already taken several steps to resolve the issue, including previewing both new and previous versions of the Prompt Template in the Development sandbox, verifying that the retriever was still in the sandbox, and removing and re-adding the retriever merge value to the prompt template and testing again.

Additional troubleshooting steps included checking the permission sets and comparing them to a working example, as well as opening a case with support.

Resolution

The issue was resolved by enabling the default data space on the Data Cloud Architect permission set. This allowed the Einstein Search data provider to function correctly and resolved the error.

permission_set_configuration

// Example permission set configuration
// Enable default data space on Data Cloud Architect permission set
DataCloudArchitectPermissionSet = {
  'defaultDataSpace': true
};

Heads up: Make sure to verify the permission sets and data space configuration after making any changes to the Einstein Search data provider.

Best Practices

Checklist for Resolving Einstein Search Data Provider Errors

  • Verify the Data Cloud Architect permission set has the default data space enabled
  • Check the permission sets and compare them to a working example
  • Preview both new and previous versions of the Prompt Template in the Development sandbox
  • Verify that the retriever is still in the sandbox
  • Remove and re-add the retriever merge value to the prompt template and test again
  • Open a case with support if the issue persists

What is the Einstein Search data provider?

The Einstein Search data provider is a feature in Agentforce that allows for custom Knowledge retrievers to be used in Prompt Templates.

What is the Data Cloud Architect permission set?

The Data Cloud Architect permission set is a set of permissions required to access and manage the Einstein Search data provider.

How do I enable the default data space on the Data Cloud Architect permission set?

To enable the default data space on the Data Cloud Architect permission set, go to the permission set configuration and toggle the ‘defaultDataSpace’ option to true.

What are the troubleshooting steps for resolving Einstein Search data provider errors?

The troubleshooting steps include previewing both new and previous versions of the Prompt Template in the Development sandbox, verifying that the retriever is still in the sandbox, removing and re-adding the retriever merge value to the prompt template and testing again, and opening a case with support if the issue persists.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert