ES /docs

Cupix::Errors::Argument: already requested

Service
cupixworks-api
Occurrences
36
Status
Reported
Confidence
85%
Actionability
36%
Cluster ID
824fc506-a57c-449a-8fdf-b277a84af6c0
First Seen
2025-02-18 15:15 UTC
Last Seen
2026-08-04 09:41 UTC
Actions

Cupix::Errors::Argument: already requested

What Happened#

cupixworks-api (tesla) 에서 PUT /api/v1/facilities/:key/tasks/refresh_elements_count 요청 처리 중 Cupix::Errors::Argument (ARG10060, reason already requested) 가 발생했다. 이는 사용자가 동일 facility 에 대해 "elements count 재계산" 요청을 30분 debounce window 내에 다시 눌렀을 때 의도적으로 발생시키는 guard 예외다. Datadog 로그를 보면 같은 facility key 로 14초 사이에 34건의 요청이 몰리는 전형적인 중복 클릭 패턴이다. 문제는 이 예외가 client 재요청(4xx) 이 아니라 HTTP 500 server error 로 매핑되어 Error Tracking 에 잡힌다는 점이다.

Quick Facts#

Field Value
exception.class Cupix::Errors::Argument
exception.message already requested
exception.code ARG10060
top_frame app/repositories/facility_repository.rb:267
entry_point PUT /api/v1/facilities/:key/tasks/refresh_elements_count (Api::V1::FacilitiesController#refresh_elements_count)
http_status 500 (server_error_controller 가 Argument 를 500 으로 rescue)
env production (service cupixworks-api)

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api (tesla) — Facility elements count 32 (16개월 누적) 첫 refresh 요청은 정상 처리됨. 중복 클릭에 대해 500 응답이 반환되어 사용자에게 오류로 노출될 수 있으나, 기능적 데이터 손실은 없음

Timeline#

  1. 2025-02-19 00:15 KST — 최초 발생 (first_seen 2025-02-18T15:15:13Z)
  2. 2026-07-22 ~ 2026-07-31 (KST) — 최근 재발. 동일 facility key (w8opxs, x1rax0, hnxykm, gq08zn) 로 14초 내 34건씩 burst 발생
  3. 2026-08-01 08:16 KST — 최근 발생 (last_seen 2026-07-31T14:16:30Z = KST 23:16:30, 아래 로그와 일치)
  4. 2026-08-04 — RCA 수행. Representative Error 가 stale 하지 않음을 확인 (recent 로그가 동일 메시지)

Scoring#

Confidence 85% · Actionability 36%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 16 code refs, 3 log queries
Code path explicitness 3/3 16 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 13 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