ES /docs

Cupix::Errors::Argument: No mapping found for [id] in order to sort on

Service
cupixvista-api
Occurrences
473
Status
Ignored
Confidence
85%
Actionability
28%
Cluster ID
d34af619-4568-48fd-a9fa-fc42e3447fc0
First Seen
2025-06-23 05:40 UTC
Last Seen
2026-07-08 11:45 UTC
Actions
현재 상태 ignored 에서는 실행할 액션이 없습니다.

Cupix::Errors::Argument: No mapping found for [id] in order to sort on

What Happened#

cupixvista-api (= tesla Rails 앱의 vista 배포) 의 검색 API 에서, 클라이언트가 대상 Elasticsearch 인덱스에 매핑되지 않은 필드(id)를 정렬 기준으로 요청하면 ES 가 BadRequest 를 반환한다. tesla 는 이를 Cupix::Errors::Argument (ARG13000) 로 감싸는데, 이 예외가 server_error_controller 에서 HTTP 500 으로 매핑되어 Error Tracking 에 서버 에러로 집계된다. 실제로는 잘못된 정렬 파라미터라는 클라이언트 입력 검증 실패(400 성격)이다. 16개월간 473회 발생(<1/day).

Quick Facts#

Field Value
exception.class Cupix::Errors::Argument (code ARG13000)
exception.message No mapping found for [id] in order to sort on
top_frame app/repositories/base_repository.rb:87
env production

Affected Teams#

Team / Domain Error Count Impact
cupixvista-api (tesla) 473 (16mo) 잘못된 sort/order_by 파라미터로 검색 요청 시 HTTP 500 응답. 정상 파라미터 사용자에게는 영향 없음

Timeline#

  1. 2025-06-23 14:40 KST — 최초 발생 (first_seen)
  2. 2026-07-08 20:45 KST — 최근 발생 (last_seen). 이후 14d 로그 보존 창(now-14d) 내 재발 로그/span 0건
  3. 2026-08-04 — RCA 수행. 대상 span/log 모두 retention 밖이라 미검색

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 25 code refs, 8 log queries
Code path explicitness 3/3 25 file:line refs
Log evidence 3/3 section, query, pattern
RCA structure 3/3 3/3 sections
Revision history 0/3 0 revision(s)
Agent execution 3/3 success

Actionability#

Dimension Score Detail
Fix complexity 1/5 critical
Affected files 1/5 16 file(s)
Single repo 1/3 2 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 1/3 external deps found
Data migration 3/3 no migration