ES /docs

[Integration] failed to refresh token for bim360 integration(2332) - state: failed, error_message: B

Service
cupixworks-migration-worker
Occurrences
169
Status
Reported
Confidence
80%
Actionability
40%
Cluster ID
e6cc360c-9e15-46bf-bce6-a7f2efbf81f2
First Seen
2026-07-13 04:07 UTC
Last Seen
2026-07-21 04:07 UTC
Actions

[Integration] failed to refresh token for bim360 integration(2332) - state: failed, error_message: B

What Happened#

2026-07-13 13:07 KST 에 cupixworks-migration-workerCupix::Cron::Integration.renew_before_expiration 스케줄러가 BIM360 통합(integration_id=2332) 의 OAuth access token 을 만료 직전에 갱신하려 시도했고, Autodesk Forge 의 refreshtoken 엔드포인트가 400 Bad Request 를 반환하면서 실패했다. 응답 본문에는 developerMessage 가 비어 있어 로그에는 원인이 빠진 채 "BIM360 Authentication failed:" 로만 기록되었고, 통합 레코드는 failed 상태로 전이되었다.

Quick Facts#

Field Value
exception.class Cupix::Errors::Parameter (code ARG10000)
exception.message BIM360 Authentication failed: (developerMessage 비어 있음)
top_frame app/repositories/integration_repository.rb:140
upstream error RestClient::BadRequest400 Bad Request from Autodesk Forge refreshtoken
env production, us-west-2
tenant cupix
affected_integration bim360 integration(2332)

Affected Teams#

Team / Domain Error Count Impact
Integrations (BIM360 OAuth) 1 (본 클러스터) integration_id=2332 이 failed 상태로 전이되어 재인증 전까지 해당 테넌트의 BIM360 자산 접근 불가
Integrations (BIM360 OAuth, 서비스 전반) 최근 24h 동안 10건 이상 (Datadog service:cupixworks-migration-worker "BIM360 refresh_token failed") 여러 integration id 에서 동일 400 응답 반복 발생. 각 테넌트별 재인증 필요

Timeline#

  1. 2026-06-30 14:18 KST — integration(2332) 의 access_token 이 발급됨 (expired_at: 2026-06-30 05:18:14 UTC → 재갱신으로 갱신되는 필드; 로그에 남은 refresh 직전 값)
  2. 2026-07-13 13:07:15 KSTrenew_before_expiration cron 이 후보로 integration(2332) 를 선택, refresh_token 시작 (state: active)
  3. 2026-07-13 13:07:19 KST — Autodesk Forge refreshtoken400 Bad Request 로 응답, developerMessage 필드 비어 있음
  4. 2026-07-13 13:07:19 KSTBim360Operation.refresh_token 에서 Cupix::Errors::Parameter 로 wrap, IntegrationRepository#refresh_tokenfailed_state! 호출, error 로그 기록
  5. 2026-07-13 13:07:19 KST — cron 상위 Cupix::Cron::Integration.renew_before_expiration 이 rescue 한 뒤 다음 후보로 진행

Scoring#

Confidence 80% · Actionability 40%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 13 code refs, 9 log queries
Code path explicitness 3/3 13 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 5/5 trivial
Affected files 1/5 13 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 0/3 migration needed