ES /docs

User#create_cognito_user — invalid email format passed to Cognito

Service
cupixvista-api
Occurrences
10
Status
Dismissed
Confidence
85%
Actionability
28%
Cluster ID
381fd5d8-e6dc-4144-8d1b-38351386aeee
First Seen
2026-05-28 09:04 UTC
Last Seen
2026-07-07 09:20 UTC
Actions
현재 상태 dismissed 에서는 실행할 액션이 없습니다.

User#create_cognito_user — invalid email format passed to Cognito

What Happened#

2026-07-07 10:30:15 KST cupixvista-api (us-west-2, production)에서 신규 User 저장 후 after_create :create_cognito_user 콜백이 AWS Cognito admin_create_user를 호출했으나, Cognito가 Username should be an email. (Aws::CognitoIdentityProvider::Errors::InvalidParameterException) 로 요청을 거부했다. 본 클러스터의 이메일 값은 asdf@sdaaljsd.3 로 TLD가 한 자리 숫자(.3)라 실제 이메일로 볼 수 없는 값이다. 같은 시간대에 유사한 잘못된 형식(123@232.231c, 2@23.2, 33@3.21 등)으로 총 7건이 status-board에서 2026-07-07-svc-cupixvista-api--unknown-1 인시던트로 그룹화되었다. create_cognito_user는 예외를 rescue한 뒤 error 로그만 남기고 종료하므로 User 레코드는 DB에 커밋된 채 Cognito 계정만 부재한 상태 부정합이 발생할 수 있다.

Quick Facts#

Field Value
exception.class Aws::CognitoIdentityProvider::Errors::InvalidParameterException (rescue된 StandardError)
exception.message Username should be an email.
top_frame lib/cupix/aws/cognito/user.rb:69 (create_cognito_user rescue 지점)
env production, us-west-2
service cupixvista-api

Affected Teams#

Team / Domain Error Count Impact
cupixvista-api (Cognito integration) 1 (본 클러스터), 7 (동일 원인 24h) 잘못된 이메일 형식으로 User 생성 시 Cognito 등록 실패. DB에는 User가 남지만 Cognito 계정 부재로 이후 로그인·MFA·비밀번호 재설정 흐름에서 조용한 실패 발생 가능.

Timeline#

  1. 2026-07-07 10:30:15 KST — 본 클러스터 이벤트 (asdf@sdaaljsd.3) 발생 (first_seen / last_seen). 그룹화된 인시던트의 최초 이벤트.
  2. 2026-07-07 10:30:49 KST — 관련 클러스터 2c20f518-7ea0-4ed6-bfff-75d94400a8fc (123@232.231c).
  3. 2026-07-07 10:31:33 KST — 마지막 관련 실패 (33@3.21). status-board가 세 개의 클러스터 (381fd5d8..., 2c20f518..., b48cdcdd...)를 2026-07-07-svc-cupixvista-api--unknown-1 로 그룹화.

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 9 code refs, 5 log queries
Code path explicitness 3/3 9 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 1/5 critical
Affected files 1/5 16 file(s)
Single repo 1/3 5 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