---
schema_version: "1"
id: 17ca91371e8f035403940efc9ab286579f25fc09f82299ab0e83969f0af0f504
title: Agentforce Data Library Troubleshooting
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/data_library_troubleshooting.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.data_library_troubleshooting.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5b29a7891dd45a3fc1a5e9d3966d56acca6fb658da393858c736bb8867d26323
description: Diagnose issues and avoid common pitfalls in your Agentforce Data Library.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Agentforce Data Library Troubleshooting

Diagnose issues and avoid common pitfalls in your Agentforce Data Library.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with the Einstein for Platform or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations</td></tr></tbody></table>

## My service reps aren't seeing answers with data library information.

Make sure that your service reps have the right permissions to use features with data libraries and access sources.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:29.761904761904763%">
          <col style="width:70.23809523809523%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d101958e75">Data Library type</th>
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d101958e78">Access and Permissions</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Data Library type" class="slds-cell-wrap" style="vertical-align:top;" headers="d101958e75 ">General</td>

            <td data-label="Access and Permissions" class="slds-cell-wrap" style="vertical-align:top;" headers="d101958e78 "><a name="data_library_troubleshooting__ul_mx1_q5r_hgc"><!-- --></a>
              <ul id="data_library_troubleshooting__ul_mx1_q5r_hgc">
                <li>To access the retriever and default data space assign the Data Cloud User. Make sure
                  <a href="https://help.salesforce.com/s/articleView?language=en_US&amp;id=sf.c360_a_assign_permission_set.htm&amp;type=5" target="_blank">to add the default dataspace to the Data Cloud User
                    perm</a>.
                </li>

                <li>To access the hydrated prompt and call the LLM, assign the Prompt Template User.</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Library type" class="slds-cell-wrap" style="vertical-align:top;" headers="d101958e75 ">Knowledge</td>

            <td data-label="Access and Permissions" class="slds-cell-wrap" style="vertical-align:top;" headers="d101958e78 ">
              <p>Check that:</p><a name="data_library_troubleshooting__ul_hk5_s5r_hgc"><!-- --></a>
              <ul id="data_library_troubleshooting__ul_hk5_s5r_hgc">
                <li>The source articles are public <span class="keyword">and</span>
                  <a href="https://help.salesforce.com/s/articleView?id=service.knowledge_article_publish.htm&amp;type=5&amp;language=en_US" target="_blank">published</a>. Knowledge Articles that are publicly
                  available have <code>IsVisibleInPkb</code> as True. See <a href="https://help.salesforce.com/s/articleView?id=service.knowledge_whatis.htm&amp;type=5&amp;language=en_US" target="_blank">Create a Knowledge Base with Salesforce
                    Knowledge.</a>
                </li>

                <li>Your data categories are visible.</li>

                <li>Service reps have Read access to the knowledge object and the knowledge article fields
                  that're being used in the search index.</li>

                <li>Service reps have the Allow View Knowledge user perm.</li>

                <li>Service reps have access to the default data space.</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Data Library type" class="slds-cell-wrap" style="vertical-align:top;" headers="d101958e75 ">File</td>

            <td data-label="Access and Permissions" class="slds-cell-wrap" style="vertical-align:top;" headers="d101958e78 ">
              <p>Check that:</p><a name="data_library_troubleshooting__ul_wrq_x5r_hgc"><!-- --></a>
              <ul id="data_library_troubleshooting__ul_wrq_x5r_hgc">
                <li>Service reps have access to the default data space.</li>

              </ul>
            </td>

          </tr>
        </tbody>
      </table>

## What does the data library status mean?

You can see the data library status on the Agentforce Data Library setup page.

 
| Status | Meaning |
| --- | --- |
| Failed | The library isn’t usable or won’t work the way we expect. If the data library was saved then your configuration was also saved but a retriever wasn’t created. |
| Not Started | The retriever and search index were created but chunking hasn’t started yet. Wait for the status to change to In Progress. |
| In Progress | The data is being chunked and the library still isn’t ready to use. |
| Success | Chunking and search index are complete and ready to be used. |

#### See Also

- [Govern Content for AI Consumption](https://help.salesforce.com/s/articleView?id=005460254&type=1&language=en_US)
- [Troubleshooting Knowledge Retrieval for Agents](https://help.salesforce.com/s/articleView?id=ai.generative_ai_rag_troubleshoot.htm&release=264.0.0&type=5 "Solve common retrieval augmented generation (RAG) issues for agents.")