ES /docs

CupixAuth#handleError missing .response null check — undefined propagation

Service
cupixworks-any-floorplan-agent
Occurrences
604
Status
Reported
Confidence
80%
Actionability
28%
Cluster ID
fe0c4360-df02-4649-a57b-27b4c8fe858a
First Seen
2026-04-13 02:56 UTC
Last Seen
2026-07-13 09:02 UTC
Actions

CupixAuth#handleError missing .response null check — undefined propagation

What Happened#

2026-06-16 20:18:45 KST에 us-west-2 리전의 cupixworks-any-floorplan-agent (cupix-tesla-floorplan-agent) 가 floorplan id 88239 의 변환된 PNG 파일을 presigned uploadUrl 로 PUT 업로드하던 중 HTTP 500 Internal Server Error 응답을 받았다. 업로드 실패 후 에러 핸들러 체인에서 부수적으로 Cannot read properties of undefined (reading 'response') 가 발생하여 SQS 메시지가 정상적으로 처리되지 못했다. 동일 source PDF (id 35955) 로 작업하던 인접 floorplan 88240 은 같은 시각에 정상 성공했다.

Quick Facts#

Field Value
exception.class (no thrown class — non-200 HTTP response from upload endpoint)
exception.message FloorplanService::uploadFile | response path: /tmp/workspace/88239/88239.png, code: 500, message: Internal Server Error
top_frame packages/cupix-tesla-floorplan-agent/src/floorplan-service.ts:295-300
runtime Node.js / TypeScript agent (cupixworks/applications/agents)
env production, us-west-2
tenant cupix

Affected Teams#

Team / Domain Error Count Impact
nestle (cupix-tesla-floorplan-agent) 1 Floorplan id 88239 의 tile 업로드 단계로 진입하지 못함. SQS 메시지 처리 실패 (재시도 가능)

Timeline#

  1. 2026-06-16 20:18:19 KSTBaseService::runByMessage | id: 88239 — SQS 메시지 수신, 처리 시작
  2. 2026-06-16 20:18:22 KSTFloorplanService::translateFloorplan 시작 (source: 35955.pdf, 16384x16384, LOD 6)
  3. 2026-06-16 20:18:45 KSTFloorplanService::uploadFile PUT 요청에 대한 HTTP 500 응답 수신
  4. 2026-06-16 20:18:45 KSTCupixAuth::handleError | Undefined response: {"statusCode":500,"request":{"method":"PUT"}} (warn)
  5. 2026-06-16 20:18:45 KSTCannot read properties of undefined (reading 'response') 에러 (error)
  6. 2026-06-16 20:18:45 KSTBaseService::getApiErrorToDeleteMessage | undefined error (warn) → BaseService::handlingMessageErrors | Error and message object - {"error":"undefined error","sqsMessage":{...,"ApproximateReceiveCount":"1"}}

Scoring#

Confidence 80% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 14 code refs, 7 log queries
Code path explicitness 3/3 14 file:line refs
Log evidence 2/3 section, query
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 12 file(s)
Single repo 1/3 18 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 1/3 external deps found
Data migration 3/3 no migration