> For the complete documentation index, see [llms.txt](https://docs.konnekt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.konnekt.io/fr/troubleshooting/causes-du-contenu-manquant/bibliotheques-vides/bibliotheques-par-defaut-vides-erreur-404.md).

# Bibliothèques par défaut vides - erreur 404

## Problème

Toutes les bibliothèques de documents dans KONNEKT et les lecteurs mappés sont vides.

## Contexte

Il y a des problèmes dans certains centres de données hébergeant SharePoint Online chez Microsoft. KONNEKT utilise l’API Graph de Microsoft pour accéder à toutes les informations liées aux bibliothèques de documents et à leur contenu.

En particulier, la requête visant à obtenir la bibliothèque de documents par défaut d’une collection de sites ([Obtenir le lecteur](https://learn.microsoft.com/en-us/graph/api/drive-get)). Les journaux de KONNEKT devraient contenir des entrées si les opérations sur la bibliothèque par défaut échouent :&#x20;

```
[2025-05-07 11:31:28.957] [30304] [error] [RESTkitClient] Requête HTTP (OneDriveClient::GetDefaultDrive) GET: https://graph.microsoft.com/v1.0/sites/<TenantName>.sharepoint.com,8fd7d761-4f99-4fdc-a0aa-de6b685e5306,56d1fa73-2339-4329-9df3-61100d751650/drive - 404
    erreur : élément introuvable : la ressource est introuvable.(404)
   "{"error":{"code":"itemNotFound","message":"The resource could not be found.","innerError":{"date":"2025-05-07T09:31:28","request-id":"17a44641-4204-4811-b176-58a379125b5d","client-request-id":"17a44641-4204-4811-b176-58a379125b5d"}}}"
    En-tête de réponse :
Cache-Control : no-store, no-cache
client-request-id : 17a44641-4204-4811-b176-58a379125b5d
Content-Type : application/json
Date : mer. 07 mai 2025 09:31:27 GMT
request-id : 17a44641-4204-4811-b176-58a379125b5d
Strict-Transport-Security : max-age=31536000
Transfer-Encoding : chunked
x-ms-ags-diagnostic : {"ServerInfo":{"DataCenter":"France Central","Slice":"E","Ring":"5","ScaleUnit":"004","RoleInstance":"PA2PEPF00011C65"}}
    Réponse :
{"error":{"code":"itemNotFound","message":"The resource could not be found.","innerError":{"date":"2025-05-07T09:31:28","request-id":"17a44641-4204-4811-b176-58a379125b5d","client-request-id":"17a44641-4204-4811-b176-58a379125b5d"}}}
```

ou

```
[2025-05-09 08:43:36.353] [23796] [error] [RESTkitClient] Requête HTTP (OneDriveClient::GetDefaultDrive) GET: https://graph.microsoft.com/v1.0/sites/<TenantName>.sharepoint.com,8fd7d761-4f99-4fdc-a0aa-de6b685e5306,56d1fa73-2339-4329-9df3-61100d751650/drive - 404
    erreur : élément introuvable : la ressource est introuvable.(404)
   "{"error":{"code":"itemNotFound","message":"The resource could not be found.","innerError":{"date":"2025-05-09T06:43:36","request-id":"17a44641-4204-4811-b176-58a379125b5d","client-request-id":"17a44641-4204-4811-b176-58a379125b5d"}}}"
```

Pour investiguer, utilisez GraphExplorer pour vérifier la requête GET pour cette bibliothèque de documents :

<https://developer.microsoft.com/en-us/graph/graph-explorer>

## Solutions de contournement

1\) Activez le paramètre "[Ajouter toutes les bibliothèques de documents SharePoint](https://docs.konnekt.io/configuration/mappings/auto-mapping#map-all-document-libraries)".

Si activé, KONNEKT utilisera la requête [Lister les lecteurs](https://learn.microsoft.com/en-us/graph/api/drive-list?view=graph-rest-1.0\&tabs=http) pour récupérer toutes les bibliothèques de documents des collections de sites.

{% hint style="info" %}
Veuillez noter qu’activer ce paramètre entraînera la rupture des liens de fichiers existants.
{% endhint %}

2\) Utilisez "[Managed Mappings](/fr/configuration/mappings/managed-mappings.md)" pour mapper les bibliothèques de documents importantes et désactiver le paramètre "[Sharepoint Sites Autodiscovery](https://docs.konnekt.io/configuration/mappings/auto-mapping#map-all-document-libraries)".

## problème GitHub

<https://github.com/SharePoint/sp-dev-docs/issues/10241>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.konnekt.io/fr/troubleshooting/causes-du-contenu-manquant/bibliotheques-vides/bibliotheques-par-defaut-vides-erreur-404.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
