validation_exception: validation_exception / illegal_argument_exception: Validation Failed: ...
Elasticsearch의미
요청의 파라미터 또는 설정이 검증에 실패했다. Elasticsearch가 유효하지 않거나 일관되지 않은 값을 포함한 요청을 실행하지 않고 거부했다(예: 잘못된 샤드 수, 호환되지 않는 설정 조합, 필수 필드 누락).
원인
유효하지 않은 인덱스 설정(예: 음수/0인 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