ES /docs

NoMethodError: undefined method `to_i' for an instance of ActionController::Parameters

Service
cupixworks-api
Occurrences
45
Status
Abandoned
Confidence
85%
Actionability
52%
Cluster ID
a21860c9-bf2b-4601-8047-ad862280f91b
First Seen
2025-08-23 06:37 UTC
Last Seen
2026-08-06 05:26 UTC
Actions
현재 상태 abandoned 에서는 실행할 액션이 없습니다.

NoMethodError: undefined method `to_i' for an instance of ActionController::Parameters

What Happened#

cupixworks-api (tesla) 의 어떤 컨트롤러/factory 경로에서 스칼라 값을 기대하고 params[:key].to_i 를 호출했으나, 클라이언트가 해당 파라미터를 nested object/array 형태로 전송해 Rails 가 이를 중첩 ActionController::Parameters 로 파싱했다. ActionController::Parameters 에는 to_i 가 없어 NoMethodError 가 발생했고, 이 예외는 rescue_from 체인에 걸리지 않아 HTTP 500 으로 노출되었다. 2025-08-23 ~ 2026-07-24 사이 26건 발생한 저빈도 이슈다 (약 11개월간 < 3건/월).

Quick Facts#

Field Value
exception.class NoMethodError
exception.message undefined method \to_i' for an instance of ActionController::Parameters`
top_frame 확인 불가 (representative 에 stack frame 없음)
env production
service cupixworks-api (repo: tesla)

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api (tesla) 26 잘못된 형태의 파라미터를 보낸 소수 요청이 400 대신 500 응답 수신

Timeline#

  1. 2025-08-23 15:37 KST — 최초 발생 (first_seen)
  2. 2026-07-24 11:09 KST — 최근 발생 (last_seen)
  3. 2026-08-04 — RCA 수행 (last_seen 이 14일 retention 밖이라 Datadog 로그 0건)

Scoring#

Confidence 85% · Actionability 52%

Confidence#

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

Actionability#

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