[CustomerIo] track failed - event: BE_MAIL_CAPTURE_PROCESSING_COMPLETE
Service
cupixworks-worker
Occurrences
1
Status
Reported
Confidence
85%
Actionability
52%
Cluster ID
98595c6d-958f-4b35-835f-c4bc4561f9c1
First Seen
2026-07-13 08:14 UTC
Last Seen
2026-07-13 08:14 UTC
Actions
[CustomerIo] track failed - event: BE_MAIL_CAPTURE_PROCESSING_COMPLETE
What Happened#
2026-07-13 17:14 KST, cupixworks-worker (ap-southeast-2, tenant nswgov) 에서 capture 46890 처리 완료 후 BE_MAIL_CAPTURE_PROCESSING_COMPLETE 이벤트를 Customer.io Track API 로 전송하는 도중 Customerio::InvalidResponse: "Unauthorized request" (HTTP 401) 이 반환되어 이벤트 전송이 실패했다. 실패는 14일 조회 범위에서 단 1건 발생했고, 같은 이벤트 종류 (BE_MAIL_CAPTURE_PROCESSING_COMPLETE) 는 실패 직전 16:55·16:58 KST, 실패 직후 17:57 KST 에 정상 전송됐다. track_customer_io 는 rescue => e 로 감싸져 있어 예외가 전파되지 않고 false 를 반환하며, 상위 dispatch 로직이 SendGrid fallback 을 트리거하도록 설계돼 있다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | Customerio::InvalidResponse |
| exception.message | {"meta": {"error": "Unauthorized request"}} |
| top_frame | lib/cupix/mailer/dispatcher.rb:132 (Cupix::CustomerIo.client.track) |
| deploy | production-ap-southeast-2-20260713T0657Z0-69260da5-cupixworks |
| env | production, ap-southeast-2 |
| tenant | nswgov |
| track_id | crn:nswgov:apse2:cupixworks:4:user/98 |
| request_id | bda8816198676fa499961497 |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| nswgov (ap-southeast-2) | 1 | Customer.io Track API 로 1건의 이벤트 미전송. EMAIL_PROVIDER=BOTH 인 경우 SendGrid 로도 병행 전송되므로 이메일 자체는 정상 도달했을 가능성이 큼 (아래 Hypotheses 참조). CUSTOMERIO-only 였다면 send_sendgrid_fallback 이 SendGrid 로 대체 전송. |
Timeline#
- 2026-07-13 15:57 KST — 프로덕션 배포
20260713T0657Z0-69260da5-cupixworks(ap-southeast-2) 완료. - 2026-07-13 16:55 KST — 타 tenant 의
BE_MAIL_CAPTURE_PROCESSING_COMPLETECustomer.io track 정상 전송. - 2026-07-13 16:58 KST — 타 tenant 의
BE_MAIL_CAPTURE_PROCESSING_COMPLETE정상 전송. - 2026-07-13 17:14 KST — nswgov tenant, capture 46890 processing_completed 후 Customer.io track 이 401 반환 →
track_customer_io가false반환. - 2026-07-13 17:57 KST — 후속
BE_MAIL_CAPTURE_PROCESSING_COMPLETE정상 전송 (Customer.io 정상 동작 복귀).
Scoring#
Confidence 85% · Actionability 52%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 16 code refs, 5 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 | 5/5 | trivial |
| Affected files | 1/5 | 9 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 |