> 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/ja/troubleshooting/causes-of-missing-content/empty-libraries/empty-default-libraries-error-404.md).

# 空の既定ライブラリ - エラー 404

## 問題

KONNEKT 内のすべてのドキュメント ライブラリとマップされたドライブは空です。

## 背景

Microsoft 側で SharePoint Online をホストしている特定のデータ センターに不具合があります。KONNEKT は Microsoft の GraphAPI を使用して、ドキュメント ライブラリとそのコンテンツに関連するすべての情報にアクセスします。

特に、サイト コレクション（から既定のドキュメント ライブラリを取得するリクエスト[ドライブを取得](https://learn.microsoft.com/en-us/graph/api/drive-get)）. 既定のライブラリ操作に失敗した場合、KONNEKT のログにはエントリが含まれているはずです:

```
[2025-05-07 11:31:28.957] [30304] [エラー] [RESTkitClient] 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
    エラー: 項目が見つかりません: リソースが見つかりませんでした。(404)
   "{"error":{"code":"itemNotFound","message":"リソースが見つかりませんでした。","innerError":{"date":"2025-05-07T09:31:28","request-id":"17a44641-4204-4811-b176-58a379125b5d","client-request-id":"17a44641-4204-4811-b176-58a379125b5d"}}}"
    レスポンス ヘッダー:
Cache-Control: no-store, no-cache
client-request-id: 17a44641-4204-4811-b176-58a379125b5d
Content-Type: application/json
Date: Wed, 07 May 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"}}
    レスポンス:
{"error":{"code":"itemNotFound","message":"リソースが見つかりませんでした。","innerError":{"date":"2025-05-07T09:31:28","request-id":"17a44641-4204-4811-b176-58a379125b5d","client-request-id":"17a44641-4204-4811-b176-58a379125b5d"}}}
```

または

```
[2025-05-09 08:43:36.353] [23796] [エラー] [RESTkitClient] 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
    エラー: 項目が見つかりません: リソースが見つかりませんでした。(404)
   "{"error":{"code":"itemNotFound","message":"リソースが見つかりませんでした。","innerError":{"date":"2025-05-09T06:43:36","request-id":"17a44641-4204-4811-b176-58a379125b5d","client-request-id":"17a44641-4204-4811-b176-58a379125b5d"}}}"
```

調査するには、GraphExplorer を使用して、このドキュメント ライブラリの GET リクエストを確認してください:

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

## 回避策

1\) 設定 "[SharePoint のすべてのドキュメント ライブラリを追加](https://docs.konnekt.io/configuration/mappings/auto-mapping#map-all-document-libraries)".

有効にすると、KONNEKT は次の [ドライブ一覧](https://learn.microsoft.com/en-us/graph/api/drive-list?view=graph-rest-1.0\&tabs=http) リクエストを使用して、Site Collection からすべてのドキュメント ライブラリを取得します。

{% hint style="info" %}
この設定を有効にすると、既存のファイル リンクが壊れることにご注意ください。
{% endhint %}

2\) "[Managed Mappings](/ja/configuration/mappings/managed-mappings.md)" を使って重要なドキュメント ライブラリをマップし、設定 "[SharePoint サイトの自動検出](https://docs.konnekt.io/configuration/mappings/auto-mapping#map-all-document-libraries)".

## GitHub の issue

<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/ja/troubleshooting/causes-of-missing-content/empty-libraries/empty-default-libraries-error-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.
