validation_exception: validation_exception / illegal_argument_exception: Validation Failed: ...(検証の失敗)
Elasticsearch意味
要求のパラメータまたは設定が検証に失敗した。Elasticsearch は無効または矛盾した値を含む要求を実行せずに拒否した (例: 無効なシャード数、互換性のない設定の組合せ、必須フィールドの欠如)。
原因
無効なインデックス設定 (例: 負/ゼロの number_of_shards)、既存インデックスで変更不可の設定を更新しようとした、互換性のないパラメータの組合せ、必須フィールドの欠如、または範囲外の値。
対処方法
エラーメッセージの検証詳細を読む。どのパラメータがなぜ無効かが明確に示されている。値を有効な範囲/形式にする。変更不可 (static) の設定は既存インデックスではなく新規インデックスの作成時に指定する (必要なら _reindex)。API が要求する必須フィールドを指定する。設定のドキュメントに記載された有効な値を確認する。
同じデータベースの他の項目
- es_rejected_execution_exceptiones_rejected_execution_exception: rejected execution of ... on ... (queue capacity ...) (HTTP 429)(実行が拒否された (キュー容量超過))
- master_not_discovered_exceptionmaster_not_discovered_exception / MasterNotDiscoveredException(マスターが見つからない)
- security_exceptionsecurity_exception: unable to authenticate / action [...] is unauthorized for user [...] (HTTP 401/403)(認証/認可の失敗)
- task_cancelled_exceptiontask_cancelled_exception: Task was cancelled / TaskCancelledException(タスクが取り消された)
- action_request_validation_exceptionaction_request_validation_exception
- index_closed_exceptionindex_closed_exception
- unavailable_shards_exceptionunavailable_shards_exception