ES /docs

team signup failed: Not enough or too many segments

Service
cupixvista-api
Occurrences
8
Status
Reported
Confidence
85%
Actionability
52%
Cluster ID
6635e101-fbc4-4e95-a608-ab4e61148985
First Seen
2026-06-30 01:15 UTC
Last Seen
2026-06-30 01:15 UTC
Actions

team signup failed: Not enough or too many segments

What Happened#

2026-06-30 10:15 KST 무렵, cupixvista-apiPOST /api/v1/teams/signup 엔드포인트에서 28초 동안 8건의 500 에러가 발생했다. 모든 요청이 동일 IP(3.172.65.113)에서 들어왔고, email 파라미터 없이 team_domain=solutionoperations만 포함된 채 X-CUPIX-AUTH 헤더에 비정상 토큰(JWT segment 수 ≠ 3)을 실어 보냈다. 그 결과 Cupix::Aws::Cognito.get_user_by_access_token이 호출한 JWT.decodeJWT::DecodeError: Not enough or too many segments를 던졌고, TeamFactory.signuprescue StandardError 블록이 이를 SYS10000 system error 로 변환해 ERROR 레벨로 로깅했다.

Quick Facts#

Field Value
exception.class Cupix::Errors::System (wraps JWT::DecodeError)
exception.message Not enough or too many segments
top_frame lib/cupix/aws/cognito.rb:198 (JWT.decode)
error_code SYS10000
endpoint POST /api/v1/teams/signup (Api::V1::TeamsController#signup)
http_status 500
deploy production-us-west-2-20260629T1555Z0-bfdc5ebd-cupixvista
env production, us-west-2
remote_ip 3.172.65.113 (단일 source)
user_agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) ... Chrome/149.0.0.0 Safari/537.36

Affected Teams#

Team / Domain Error Count Impact
cupixvista-api (signup 엔드포인트) 8 외부에서 들어온 비정상 가입 시도 1건이 500 에러 8건으로 알람을 발생시킴. 실제 정상 사용자 가입 흐름은 영향 없음(동일 시간대 다른 IP의 200 응답 확인).

Timeline#

  1. 2026-06-30 10:15:22 KST — 첫 번째 POST /api/v1/teams/signup 요청이 IP 3.172.65.113에서 도착, 500 응답.
  2. 2026-06-30 10:15:22 ~ 10:15:50 KST — 동일 IP에서 8회 반복 요청, 모두 동일 에러로 500.
  3. 2026-06-30 10:15:47 KST — 동일 시간대에 GET /api/v1/teams/find_by_domain/solutionoperations 요청이 같은 시퀀스에서 발견됨 → 403 ARG10002 Team not found. 도메인 존재 여부를 먼저 확인하는 클라이언트 동작으로 추정.
  4. 2026-06-30 10:15:50 KST — 마지막 발생, 이후 동일 패턴 중단.
  5. 2026-06-30 이후 — 14일 retention 윈도우에서 동일 메시지 추가 발생 없음.

Scoring#

Confidence 85% · Actionability 52%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 19 code refs, 4 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 17 file(s)
Single repo 1/3 2 service(s)
Immediate actions 0/3 absent
Testability 2/3 test mentioned
External dependency 1/3 external deps found
Data migration 3/3 no migration