Migration request failed from evergreen - {"result":{"code":"BG10004","type":"Cupix::Errors::BadGate
Service
cupixworks-api
Occurrences
1
Status
Reported
Confidence
85%
Actionability
40%
Cluster ID
20cbe48c-6835-4b3d-8dd4-6c7ec58303eb
First Seen
2026-05-26 04:46 UTC
Last Seen
2026-05-26 04:46 UTC
Actions
Migration request failed from evergreen - {"result":{"code":"BG10004","type":"Cupix::Errors::BadGate
What Happened#
2026-05-26 04:46 UTC에 cupixworks-api (production, us-west-2)에서 Evergreen 마이그레이션 서비스로의 요청이 실패했다. Evergreen이 Tesla API로 facility 정보를 조회하려 했으나, 만료/무효한 API 토큰으로 인해 401 Unauthorized 응답을 받아 BG10004 에러가 반환되었다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | Cupix::Errors::BadGateway |
| exception.message | Migration request failed from evergreen - Unable to retrieve facility info: 401 Unauthorized |
| top_frame | app/operations/migration_operation.rb:64 |
| deploy | production-us-west-2-20260526T0443Z0-dd7bd097-cupixworks |
| env | production, us-west-2 |
Timeline#
- 2026-05-26T04:43:00Z — cupixworks-api 신규 배포 (
dd7bd097) - 2026-05-26T04:45:59.331Z — Evergreen(
cupixworks-migration-service-api)가 Tesla API에 facility 조회 시도, 401 응답 수신 - 2026-05-26T04:46:00.489Z — Tesla(cupixworks-api)에서 Evergreen 응답의 BG10004 에러 로깅
- 2026-05-26T06:30:36.128Z — 동일 패턴의 두 번째 인증 실패 발생 (BG10001, import 경로)
Scoring#
Confidence 85% · Actionability 40%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 6 code refs, 5 log queries |
| Code path explicitness | 3/3 | 6 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 | 3 service(s) |
| Immediate actions | 0/3 | absent |
| Testability | 0/3 | no test info |
| External dependency | 3/3 | no external deps |
| Data migration | 0/3 | migration needed |