> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ファイル検索

> キーワード検索によってファイル情報を取得し、作成者や時間範囲で結果を絞り込みます

本インターフェースを呼び出し、操作者の unionId とキーワード情報に基づいてファイル情報を取得します。

## リクエスト

### 基本情報

| フィールド        | 値                                                                                                            |
| ------------ | ------------------------------------------------------------------------------------------------------------ |
| HTTP URL     | [https://api.dingtalk.io/v2.0/storage/dentries/search](https://api.dingtalk.io/v2.0/storage/dentries/search) |
| HTTP Method  | POST                                                                                                         |
| サポートするアプリタイプ | appType-社内アプリ　appType-サードパーティ社内アプリ                                                                           |
| 必要な権限        | permission-Storage.Dentry.Search-ファイル検索権限                                                                    |

### リクエストヘッダー

| 名前                          | タイプ    | 必須 | 説明                                                                                                                                                                                                                                                                                                                                               |
| --------------------------- | ------ | -- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| x-acs-dingtalk-access-token | String | 必須 | 本インターフェースを呼び出すためのアクセス認証情報。以下の方法で取得します：   - 社内アプリの場合、[社内アプリのアクセストークンを取得](/ja/open/development/obtain-the-access-token-of-an-internal-app#)インターフェースを呼び出して取得します。 - サードパーティ社内アプリの場合、[サードパーティアプリにより権限付与された企業のアクセストークンを取得](https://open.dingtalk.com/document/development/obtain-the-access-token-of-the-authorized-enterprise-1#)インターフェースを呼び出して取得します。 |

### クエリパラメータ

| 名前         | タイプ    | 必須 | 説明            |
| ---------- | ------ | -- | ------------- |
| operatorId | String | 必須 | 操作者の unionId。 |

### リクエストボディ

| 名前               | タイプ             | 必須 | 説明                                                |
| ---------------- | --------------- | -- | ------------------------------------------------- |
| keyword          | String          | 必須 | 検索キーワード。                                          |
| option           | Object          | 任意 | オプションパラメータ。                                       |
| nextToken        | String          | 任意 | ページネーションカーソル。      初回取得時は不要です。                    |
| maxResults       | Integer         | 任意 | ページサイズ。デフォルトは 50。      最大値は 50。                   |
| dentryCategories | Array of String | 任意 | ファイルカテゴリの指定。                                      |
| creatorIds       | Array of String | 任意 | 作成者の指定。                                           |
| modifierIds      | Array of String | 任意 | 修正者の指定。                                           |
| createTimeRange  | Object          | 任意 | 作成時間範囲の指定。      指定しない場合、デフォルトですべての作成時間が対象となります。   |
| startTime        | Long            | 任意 | 開始タイムスタンプ。                                        |
| endTime          | Long            | 任意 | 終了タイムスタンプ。                                        |
| visitTimeRange   | Object          | 任意 | アクセス時間範囲の指定。    指定しない場合、デフォルトですべてのアクセス時間が対象となります。 |
| startTime        | Long            | 任意 | 開始タイムスタンプ。                                        |
| endTime          | Long            | 任意 | 終了タイムスタンプ。                                        |

### リクエスト例

HTTP

```http theme={"theme":{"light":"github-light","dark":"github-dark"}}
POST /v2.0/storage/dentries/search?operatorId=tXguN309iPhE4roSKPlLURAiEiE HTTP/1.1
Host:api.dingtalk.io
x-acs-dingtalk-access-token:access_token
Content-Type:application/json

{
  "keyword" : "keyword",
  "option" : {
    "nextToken" : "next_token",
    "maxResults" : 20,
    "dentryCategories" : [ "category" ],
    "creatorIds" : [ "creator_id" ],
    "modifierIds" : [ "modifier_id" ],
    "createTimeRange" : { },
    "visitTimeRange" : { }
  }
}
```

Java

```java theme={"theme":{"light":"github-light","dark":"github-dark"}}
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sample;

import com.aliyun.tea.*;

public class Sample {

    /**
     * トークンを使用してアカウント Client を初期化
     * @return Client
     * @throws Exception
     */
    public static com.aliyun.dingtalkstorage_2_0.Client createClient() throws Exception {
        com.aliyun.teaopenapi.models.Config config = new com.aliyun.teaopenapi.models.Config();
        config.protocol = "https";
        config.regionId = "central";
        return new com.aliyun.dingtalkstorage_2_0.Client(config);
    }

    public static void main(String[] args_) throws Exception {
        java.util.List<String> args = java.util.Arrays.asList(args_);
        com.aliyun.dingtalkstorage_2_0.Client client = Sample.createClient();
        com.aliyun.dingtalkstorage_2_0.models.SearchDentriesHeaders searchDentriesHeaders = new com.aliyun.dingtalkstorage_2_0.models.SearchDentriesHeaders();
        searchDentriesHeaders.xAcsDingtalkAccessToken = "<your access token>";
        com.aliyun.dingtalkstorage_2_0.models.SearchDentriesRequest.SearchDentriesRequestOptionVisitTimeRange optionVisitTimeRange = new com.aliyun.dingtalkstorage_2_0.models.SearchDentriesRequest.SearchDentriesRequestOptionVisitTimeRange();
        com.aliyun.dingtalkstorage_2_0.models.SearchDentriesRequest.SearchDentriesRequestOptionCreateTimeRange optionCreateTimeRange = new com.aliyun.dingtalkstorage_2_0.models.SearchDentriesRequest.SearchDentriesRequestOptionCreateTimeRange();
        com.aliyun.dingtalkstorage_2_0.models.SearchDentriesRequest.SearchDentriesRequestOption option = new com.aliyun.dingtalkstorage_2_0.models.SearchDentriesRequest.SearchDentriesRequestOption()
                .setNextToken("next_token")
                .setMaxResults(20)
                .setDentryCategories(java.util.Arrays.asList(
                    "category"
                ))
                .setCreatorIds(java.util.Arrays.asList(
                    "creator_id"
                ))
                .setModifierIds(java.util.Arrays.asList(
                    "modifier_id"
                ))
                .setCreateTimeRange(optionCreateTimeRange)
                .setVisitTimeRange(optionVisitTimeRange);
        com.aliyun.dingtalkstorage_2_0.models.SearchDentriesRequest searchDentriesRequest = new com.aliyun.dingtalkstorage_2_0.models.SearchDentriesRequest()
                .setOperatorId("tXguN309iPhE4roSKPlLURAiEiE")
                .setKeyword("keyword")
                .setOption(option);
        try {
            client.searchDentriesWithOptions(searchDentriesRequest, searchDentriesHeaders, new com.aliyun.teautil.models.RuntimeOptions());
        } catch (TeaException err) {
            if (!com.aliyun.teautil.Common.empty(err.code) && !com.aliyun.teautil.Common.empty(err.message)) {
                // err には code と message プロパティが含まれており、問題特定に役立ちます
            }

        } catch (Exception _err) {
            TeaException err = new TeaException(_err.getMessage(), _err);
            if (!com.aliyun.teautil.Common.empty(err.code) && !com.aliyun.teautil.Common.empty(err.message)) {
                // err には code と message プロパティが含まれており、問題特定に役立ちます
            }

        }        
    }
}
```

Python

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
# -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
import sys

from typing import List

from alibabacloud_dingtalk.storage_2_0.client import Client as dingtalkstorage_2_0Client
from alibabacloud_tea_openapi import models as open_api_models
from alibabacloud_dingtalk.storage_2_0 import models as dingtalkstorage__2__0_models
from alibabacloud_tea_util import models as util_models
from alibabacloud_tea_util.client import Client as UtilClient

class Sample:
    def __init__(self):
        pass

    @staticmethod
    def create_client() -> dingtalkstorage_2_0Client:
        """
        トークンを使用してアカウント Client を初期化
        @return: Client
        @throws Exception
        """
        config = open_api_models.Config()
        config.protocol = 'https'
        config.region_id = 'central'
        return dingtalkstorage_2_0Client(config)

    @staticmethod
    def main(
        args: List[str],
    ) -> None:
        client = Sample.create_client()
        search_dentries_headers = dingtalkstorage__2__0_models.SearchDentriesHeaders()
        search_dentries_headers.x_acs_dingtalk_access_token = '<your access token>'
        option_visit_time_range = dingtalkstorage__2__0_models.SearchDentriesRequestOptionVisitTimeRange()
        option_create_time_range = dingtalkstorage__2__0_models.SearchDentriesRequestOptionCreateTimeRange()
        option = dingtalkstorage__2__0_models.SearchDentriesRequestOption(
            next_token='next_token',
            max_results=20,
            dentry_categories=[
                'category'
            ],
            creator_ids=[
                'creator_id'
            ],
            modifier_ids=[
                'modifier_id'
            ],
            create_time_range=option_create_time_range,
            visit_time_range=option_visit_time_range
        )
        search_dentries_request = dingtalkstorage__2__0_models.SearchDentriesRequest(
            operator_id='tXguN309iPhE4roSKPlLURAiEiE',
            keyword='keyword',
            option=option
        )
        try:
            client.search_dentries_with_options(search_dentries_request, search_dentries_headers, util_models.RuntimeOptions())
        except Exception as err:
            if not UtilClient.empty(err.code) and not UtilClient.empty(err.message):
                # err には code と message プロパティが含まれており、問題特定に役立ちます
                pass

    @staticmethod
    async def main_async(
        args: List[str],
    ) -> None:
        client = Sample.create_client()
        search_dentries_headers = dingtalkstorage__2__0_models.SearchDentriesHeaders()
        search_dentries_headers.x_acs_dingtalk_access_token = '<your access token>'
        option_visit_time_range = dingtalkstorage__2__0_models.SearchDentriesRequestOptionVisitTimeRange()
        option_create_time_range = dingtalkstorage__2__0_models.SearchDentriesRequestOptionCreateTimeRange()
        option = dingtalkstorage__2__0_models.SearchDentriesRequestOption(
            next_token='next_token',
            max_results=20,
            dentry_categories=[
                'category'
            ],
            creator_ids=[
                'creator_id'
            ],
            modifier_ids=[
                'modifier_id'
            ],
            create_time_range=option_create_time_range,
            visit_time_range=option_visit_time_range
        )
        search_dentries_request = dingtalkstorage__2__0_models.SearchDentriesRequest(
            operator_id='tXguN309iPhE4roSKPlLURAiEiE',
            keyword='keyword',
            option=option
        )
        try:
            await client.search_dentries_with_options_async(search_dentries_request, search_dentries_headers, util_models.RuntimeOptions())
        except Exception as err:
            if not UtilClient.empty(err.code) and not UtilClient.empty(err.message):
                # err には code と message プロパティが含まれており、問題特定に役立ちます
                pass

if __name__ == '__main__':
    Sample.main(sys.argv[1:])
```

PHP

```java theme={"theme":{"light":"github-light","dark":"github-dark"}}
<?php

// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Sample;

use AlibabaCloud\SDK\Dingtalk\Vstorage_2_0\Dingtalk;
use \Exception;
use AlibabaCloud\Tea\Exception\TeaError;
use AlibabaCloud\Tea\Utils\Utils;

use Darabonba\OpenApi\Models\Config;
use AlibabaCloud\SDK\Dingtalk\Vstorage_2_0\Models\SearchDentriesHeaders;
use AlibabaCloud\SDK\Dingtalk\Vstorage_2_0\Models\SearchDentriesRequest\option\visitTimeRange;
use AlibabaCloud\SDK\Dingtalk\Vstorage_2_0\Models\SearchDentriesRequest\option\createTimeRange;
use AlibabaCloud\SDK\Dingtalk\Vstorage_2_0\Models\SearchDentriesRequest\option;
use AlibabaCloud\SDK\Dingtalk\Vstorage_2_0\Models\SearchDentriesRequest;
use AlibabaCloud\Tea\Utils\Utils\RuntimeOptions;

class Sample {

    /**
     * トークンを使用してアカウント Client を初期化
     * @return Dingtalk Client
     */
    public static function createClient(){
        $config = new Config([]);
        $config->protocol = "https";
        $config->regionId = "central";
        return new Dingtalk($config);
    }

    /**
     * @param string[] $args
     * @return void
     */
    public static function main($args){
        $client = self::createClient();
        $searchDentriesHeaders = new SearchDentriesHeaders([]);
        $searchDentriesHeaders->xAcsDingtalkAccessToken = "<your access token>";
        $optionVisitTimeRange = new visitTimeRange([]);
        $optionCreateTimeRange = new createTimeRange([]);
        $option = new option([
            "nextToken" => "next_token",
            "maxResults" => 20,
            "dentryCategories" => [
                "category"
            ],
            "creatorIds" => [
                "creator_id"
            ],
            "modifierIds" => [
                "modifier_id"
            ],
            "createTimeRange" => $optionCreateTimeRange,
            "visitTimeRange" => $optionVisitTimeRange
        ]);
        $searchDentriesRequest = new SearchDentriesRequest([
            "operatorId" => "tXguN309iPhE4roSKPlLURAiEiE",
            "keyword" => "keyword",
            "option" => $option
        ]);
        try {
            $client->searchDentriesWithOptions($searchDentriesRequest, $searchDentriesHeaders, new RuntimeOptions([]));
        }
        catch (Exception $err) {
            if (!($err instanceof TeaError)) {
                $err = new TeaError([], $err->getMessage(), $err->getCode(), $err);
            }
            if (!Utils::empty_($err->code) && !Utils::empty_($err->message)) {
                // err には code と message プロパティが含まれており、問題特定に役立ちます
            }
        }
    }
}
$path = __DIR__ . \DIRECTORY_SEPARATOR . '..' . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php';
if (file_exists($path)) {
    require_once $path;
}
Sample::main(array_slice($argv, 1));
```

Go

```go theme={"theme":{"light":"github-light","dark":"github-dark"}}
// This file is auto-generated, don't edit it. Thanks.
package main

import (
  "os"
  util  "github.com/alibabacloud-go/tea-utils/v2/service"
  dingtalkstorage_2_0  "github.com/alibabacloud-go/dingtalk/storage_2_0"
  openapi  "github.com/alibabacloud-go/darabonba-openapi/v2/client"
  "github.com/alibabacloud-go/tea/tea"
)

/**
 * トークンを使用してアカウント Client を初期化
 * @return Client
 * @throws Exception
 */
func CreateClient () (_result *dingtalkstorage_2_0.Client, _err error) {
  config := &openapi.Config{}
  config.Protocol = tea.String("https")
  config.RegionId = tea.String("central")
  _result = &dingtalkstorage_2_0.Client{}
  _result, _err = dingtalkstorage_2_0.NewClient(config)
  return _result, _err
}

func _main (args []*string) (_err error) {
  client, _err := CreateClient()
  if _err != nil {
    return _err
  }

  searchDentriesHeaders := &dingtalkstorage_2_0.SearchDentriesHeaders{}
  searchDentriesHeaders.XAcsDingtalkAccessToken = tea.String("<your access token>")
  optionVisitTimeRange := &dingtalkstorage_2_0.SearchDentriesRequestOptionVisitTimeRange{}
  optionCreateTimeRange := &dingtalkstorage_2_0.SearchDentriesRequestOptionCreateTimeRange{}
  option := &dingtalkstorage_2_0.SearchDentriesRequestOption{
    NextToken: tea.String("next_token"),
    MaxResults: tea.Int32(20),
    DentryCategories: []*string{tea.String("category")},
    CreatorIds: []*string{tea.String("creator_id")},
    ModifierIds: []*string{tea.String("modifier_id")},
    CreateTimeRange: optionCreateTimeRange,
    VisitTimeRange: optionVisitTimeRange,
  }
  searchDentriesRequest := &dingtalkstorage_2_0.SearchDentriesRequest{
    OperatorId: tea.String("tXguN309iPhE4roSKPlLURAiEiE"),
    Keyword: tea.String("keyword"),
    Option: option,
  }
  tryErr := func()(_e error) {
    defer func() {
      if r := tea.Recover(recover()); r != nil {
        _e = r
      }
    }()
    _, _err = client.SearchDentriesWithOptions(searchDentriesRequest, searchDentriesHeaders, &util.RuntimeOptions{})
    if _err != nil {
      return _err
    }

    return nil
  }()

  if tryErr != nil {
    var err = &tea.SDKError{}
    if _t, ok := tryErr.(*tea.SDKError); ok {
      err = _t
    } else {
      err.Message = tea.String(tryErr.Error())
    }
    if !tea.BoolValue(util.Empty(err.Code)) && !tea.BoolValue(util.Empty(err.Message)) {
      // err には code と message プロパティが含まれており、問題特定に役立ちます
    }

  }
  return _err
}

func main() {
  err := _main(tea.StringSlice(os.Args[1:]))
  if err != nil {
    panic(err)
  }
}
```

Node.js

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
// This file is auto-generated, don't edit it
import Util, * as $Util from '@alicloud/tea-util';
import dingtalkstorage_2_0, * as $dingtalkstorage_2_0 from '@alicloud/dingtalk/storage_2_0';
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
import * as $tea from '@alicloud/tea-typescript';

export default class Client {

  /**
   * トークンを使用してアカウント Client を初期化
   * @return Client
   * @throws Exception
   */
  static createClient(): dingtalkstorage_2_0 {
    let config = new $OpenApi.Config({ });
    config.protocol = "https";
    config.regionId = "central";
    return new dingtalkstorage_2_0(config);
  }

  static async main(args: string[]): Promise<void> {
    let client = Client.createClient();
    let searchDentriesHeaders = new $dingtalkstorage_2_0.SearchDentriesHeaders({ });
    searchDentriesHeaders.xAcsDingtalkAccessToken = "<your access token>";
    let optionVisitTimeRange = new $dingtalkstorage_2_0.SearchDentriesRequestOptionVisitTimeRange({ });
    let optionCreateTimeRange = new $dingtalkstorage_2_0.SearchDentriesRequestOptionCreateTimeRange({ });
    let option = new $dingtalkstorage_2_0.SearchDentriesRequestOption({
      nextToken: "next_token",
      maxResults: 20,
      dentryCategories: [
        "category"
      ],
      creatorIds: [
        "creator_id"
      ],
      modifierIds: [
        "modifier_id"
      ],
      createTimeRange: optionCreateTimeRange,
      visitTimeRange: optionVisitTimeRange,
    });
    let searchDentriesRequest = new $dingtalkstorage_2_0.SearchDentriesRequest({
      operatorId: "tXguN309iPhE4roSKPlLURAiEiE",
      keyword: "keyword",
      option: option,
    });
    try {
      await client.searchDentriesWithOptions(searchDentriesRequest, searchDentriesHeaders, new $Util.RuntimeOptions({ }));
    } catch (err) {
      if (!Util.empty(err.code) && !Util.empty(err.message)) {
        // err には code と message プロパティが含まれており、問題特定に役立ちます
      }

    }    
  }

}

Client.main(process.argv.slice(2));
```

C#

```java theme={"theme":{"light":"github-light","dark":"github-dark"}}
// This file is auto-generated, don't edit it. Thanks.

using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;

using Tea;
using Tea.Utils;

namespace AlibabaCloud.SDK.Sample
{
    public class Sample 
    {

        /**
         * トークンを使用してアカウント Client を初期化
         * @return Client
         * @throws Exception
         */
        public static AlibabaCloud.SDK.Dingtalkstorage_2_0.Client CreateClient()
        {
            AlibabaCloud.OpenApiClient.Models.Config config = new AlibabaCloud.OpenApiClient.Models.Config();
            config.Protocol = "https";
            config.RegionId = "central";
            return new AlibabaCloud.SDK.Dingtalkstorage_2_0.Client(config);
        }

        public static void Main(string[] args)
        {
            AlibabaCloud.SDK.Dingtalkstorage_2_0.Client client = CreateClient();
            AlibabaCloud.SDK.Dingtalkstorage_2_0.Models.SearchDentriesHeaders searchDentriesHeaders = new AlibabaCloud.SDK.Dingtalkstorage_2_0.Models.SearchDentriesHeaders();
            searchDentriesHeaders.XAcsDingtalkAccessToken = "<your access token>";
            AlibabaCloud.SDK.Dingtalkstorage_2_0.Models.SearchDentriesRequest.SearchDentriesRequestOption.SearchDentriesRequestOptionVisitTimeRange optionVisitTimeRange = new AlibabaCloud.SDK.Dingtalkstorage_2_0.Models.SearchDentriesRequest.SearchDentriesRequestOption.SearchDentriesRequestOptionVisitTimeRange();
            AlibabaCloud.SDK.Dingtalkstorage_2_0.Models.SearchDentriesRequest.SearchDentriesRequestOption.SearchDentriesRequestOptionCreateTimeRange optionCreateTimeRange = new AlibabaCloud.SDK.Dingtalkstorage_2_0.Models.SearchDentriesRequest.SearchDentriesRequestOption.SearchDentriesRequestOptionCreateTimeRange();
            AlibabaCloud.SDK.Dingtalkstorage_2_0.Models.SearchDentriesRequest.SearchDentriesRequestOption option = new AlibabaCloud.SDK.Dingtalkstorage_2_0.Models.SearchDentriesRequest.SearchDentriesRequestOption
            {
                NextToken = "next_token",
                MaxResults = 20,
                DentryCategories = new List<string>
                {
                    "category"
                },
                CreatorIds = new List<string>
                {
                    "creator_id"
                },
                ModifierIds = new List<string>
                {
                    "modifier_id"
                },
                CreateTimeRange = optionCreateTimeRange,
                VisitTimeRange = optionVisitTimeRange,
            };
            AlibabaCloud.SDK.Dingtalkstorage_2_0.Models.SearchDentriesRequest searchDentriesRequest = new AlibabaCloud.SDK.Dingtalkstorage_2_0.Models.SearchDentriesRequest
            {
                OperatorId = "tXguN309iPhE4roSKPlLURAiEiE",
                Keyword = "keyword",
                Option = option,
            };
            try
            {
                client.SearchDentriesWithOptions(searchDentriesRequest, searchDentriesHeaders, new AlibabaCloud.TeaUtil.Models.RuntimeOptions());
            }
            catch (TeaException err)
            {
                if (!AlibabaCloud.TeaUtil.Common.Empty(err.Code) && !AlibabaCloud.TeaUtil.Common.Empty(err.Message))
                {
                    // err には code と message プロパティが含まれており、問題特定に役立ちます
                }
            }
            catch (Exception _err)
            {
                TeaException err = new TeaException(new Dictionary<string, object>
                {
                    { "message", _err.Message }
                });
                if (!AlibabaCloud.TeaUtil.Common.Empty(err.Code) && !AlibabaCloud.TeaUtil.Common.Empty(err.Message))
                {
                    // err には code と message プロパティが含まれており、問題特定に役立ちます
                }
            }
        }

    }
}
```

## レスポンス

### レスポンスボディ

| 名前         | タイプ    | 説明                                     |
| ---------- | ------ | -------------------------------------- |
| items      | Array  | 検索結果リスト。最大サイズは 50。                     |
| dentryUuid | String | ファイル uuid。                             |
| name       | String | ファイル名。                                 |
| creator    | Object | 作成者。                                   |
| userId     | String | ユーザー ID。                               |
| name       | String | 名前。                                    |
| modifier   | Object | 修正者。                                   |
| userId     | String | ユーザー ID。                               |
| name       | String | 名前。                                    |
| nextToken  | String | ページネーションカーソル。空でない場合は、さらにデータがあることを示します。 |

### レスポンスボディ例

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
HTTP/1.1 200 OK
Content-Type:application/json

{
  "items" : [ {
    "dentryUuid" : "EpGBa2Lm8aRmzkkNhplMx1prWgN7R35y",
    "name" : "name",
    "creator" : {
      "userId" : "01472825524039877041",
      "name" : "user_name"
    },
    "modifier" : {
      "userId" : "01472825524039877041",
      "name" : "user_name"
    }
  } ],
  "nextToken" : "next_token"
}
```

### エラーコード

本インターフェースの呼び出し時にエラーが発生した場合は、エラーメッセージをもとに [グローバルエラーコード](/ja/open/development/server-api-error-codes-1) ドキュメントで解決方法をご確認ください。

| HttpCode | エラーコード                       | エラーメッセージ      | 説明                         |
| -------- | ---------------------------- | ------------- | -------------------------- |
| 400      | paramError                   | %s            | パラメータエラー                   |
| 400      | paramError-keyword           | %s            | パラメータエラー-keyword           |
| 400      | paramError.maxResults        | %s            | パラメータエラー-maxResults        |
| 400      | paramError.searchScopes      | %s            | パラメータエラー-searchScopes      |
| 400      | paramError.searchTargets     | %s            | パラメータエラー-searchTargets     |
| 400      | paramError.dentryTypes       | %s            | パラメータエラー-dentryTypes       |
| 400      | paramError.dentryCategories  | %s            | パラメータエラー-dentryCategories  |
| 400      | paramError.createTimeRange   | %s            | パラメータエラー-createTimeRange   |
| 400      | paramError.modifiedTimeRange | %s            | パラメータエラー-modifiedTimeRange |
| 400      | paramError.visitTimeRange    | %s            | パラメータエラー-visitTimeRange    |
| 403      | spaceNotAccessible           | %s            | スペースにアクセスできません             |
| 403      | workspaceNotAccessible       | %s            | ナレッジベースにアクセスできません          |
| 403      | workspaceTeamNotAccessible   | %s            | ナレッジグループにアクセスできません         |
| 500      | systemError                  | %s            | サービスが混雑しています。後で再試行してください   |
| 500      | unknownError                 | Unknown Error | 不明なエラー                     |
| 503      | operationTimeout             | %s            | リクエストタイムアウト                |
