ES /docs

Cupix::Errors::PermissionDenied: Archived entity

Service
cupixworks-api
Occurrences
21
Status
Ignored
Confidence
85%
Actionability
52%
Cluster ID
0b6cd94a-d19e-4997-ade8-d68093e52281
First Seen
2025-02-07 05:55 UTC
Last Seen
2026-08-01 15:23 UTC
Actions
현재 상태 ignored 에서는 실행할 액션이 없습니다.

Cupix::Errors::PermissionDenied: Archived entity

What Happened#

cupixworks-api에서 archived 상태의 parent entity 아래에 하위 리소스를 생성(POST .../create)하려는 요청이 Cupix::Errors::PermissionDenied (PERM32000, "Archived entity")로 거부되었다. 이는 base_factory.rbcheck_archived_entity 권한 가드가 의도적으로 발생시키는 HTTP 403 응답으로, 모든 Datadog 샘플이 status: info로 기록된다. 클러스터의 Representative Error("Archived entity", 2025-02-07 최초 발생)와 최근 발생 로그(2026-08-01)의 메시지·코드가 동일하여 stale 이슈가 아니다.

Quick Facts#

Field Value
exception.class Cupix::Errors::PermissionDenied
exception.message Archived entity
error.code PERM32000
top_frame app/factories/base_factory.rb:151
http_status 403
env production (cupixworks-api)

Affected Teams#

에러 로그는 client별 team 도메인을 노출하지 않으므로 팀 단위 영향 범위는 특정할 수 없다. 대신 영향받은 엔드포인트 기준으로 정리한다.

Endpoint Error Count (14d sample) Impact
POST /api/v1/videos 다수 archived facility/parent에 video 생성 시도 → 403
POST /api/v1/buildings 다수 archived parent에 building 생성 시도 → 403
POST /api/v1/facilities/{id}/mounts 소수 archived facility에 mount 생성 시도 → 403
POST /api/v1/reviews 소수 archived parent에 review 생성 시도 → 403

전체 occurrence_count는 최초 발생 이후 약 18개월간 21건으로, 매우 낮은 빈도다.

Timeline#

  1. 2025-02-07 14:55 KST — 최초 발생 (first_seen, Error Tracking 등록)
  2. 2026-07-30 09:10~09:44 KSTPOST /api/v1/videos에서 다수 403 발생
  3. 2026-08-01 18:47~18:53 KSTPOST /api/v1/buildings, /mounts에서 403 다발
  4. 2026-08-02 00:23 KST — last_seen (POST /api/v1/videos)
  5. 2026-08-04 KST — RCA 수행

Scoring#

Confidence 85% · Actionability 52%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 8 code refs, 3 log queries
Code path explicitness 3/3 8 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 5/5 trivial
Affected files 1/5 8 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