ES /docs

recipe deletion failed: {"message":"Forbidden"}

Service
cupixworks-worker
Occurrences
240
Status
Reported
Confidence
85%
Actionability
52%
Cluster ID
548c530e-2cb2-4501-988a-534e0e991f93
First Seen
2026-07-18 01:01 UTC
Last Seen
2026-07-30 01:03 UTC
Actions

recipe deletion failed: {"message":"Forbidden"}

What Happened#

2026-07-18 10:01 KST 부터 약 2분간 cupixworks-worker 에서 Cupix::NotificationService#delete_user_recipe 가 notification-service 로부터 HTTP 403 Forbidden 을 받아 204건의 error 로그가 폭발적으로 기록되었다. 같은 시간대에 subscribe/unsubscribe/create_user_recipe 도 동일한 403 을 반환했다. notification-service Lambda authorizer 가 Tesla API /api/v1/me 호출을 위해 사용하는 fetchWithRetry (retries=3, timeoutMs=1000) 가 3회 모두 abort 되면서 isAuthorized: false 를 반환한 것이 원인이다.

Quick Facts#

Field Value
exception.class Cupix::NotificationService
exception.message recipe deletion failed: {"message":"Forbidden"}
top_frame lib/cupix/notification_service.rb:65
runtime Rails / Sidekiq worker (tesla)
deploy production-us-west-2-20260718T0100Z0-f2b18e95-cupixworks
env production, us-west-2

Affected Teams#

Team / Domain Error Count Impact
cupixworks-worker (notification recipe cleanup) 204 facility permission destroy 시 recipe/subscription 정리 실패 — orphan 알림 recipe 잔존 가능
notification-service (authorizer) 다수 (Tesla /api/v1/me abort 3/3 반복) 모든 recipe/subscription API 호출이 인가 실패

Timeline#

  1. 2026-07-18 10:00 KST — 배포 태그 20260718T0100Z0 로 cupixworks 배포가 시작됨 (버전 문자열 상 배포 시점).
  2. 2026-07-18 10:01 KST — Tesla API /api/v1/me 응답이 1초 timeout 을 초과, notification-service authorizer 의 fetchWithRetry 첫 실패 발생 (Datadog: Fetch attempt 1/3 failed: This operation was aborted).
  3. 2026-07-18 10:01 KST — first_seen (2026-07-18T01:01:02.071Z). delete_user_recipe 가 403 을 받고 "recipe deletion failed: {message:Forbidden}" 을 로그. 이후 2분간 204건 누적.
  4. 2026-07-18 10:02 KST — last_seen (2026-07-18T01:02:45.859Z). 이후 로그 정지 — Tesla API 응답성이 회복되어 authorizer 성공.

Scoring#

Confidence 85% · Actionability 52%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 19 code refs, 7 log queries
Code path explicitness 3/3 19 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 14 file(s)
Single repo 1/3 8 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