Skip to content

[Bug] PHONE_CODE_EXPIRED #302

@lm317379829

Description

@lm317379829

Bug Report

After entering a freshly received Telegram verification code immediately, I get PHONE_CODE_EXPIRED error on some accounts, while other accounts work fine.

Description

I tested the login flow with 5 Telegram user accounts:

  • 3 accounts on DC5 → work normally
  • 2 accounts on DC2 → fail immediately

All verification codes are submitted within seconds of being received, so they should not be expired.

Test Result

  • Working accounts: Receive 6-digit code → login successfully
  • Failing accounts: Receive 5-digit code → instantly return PHONE_CODE_EXPIRED

Error Message

authentication attempt failed: sign in failed: sending AuthSignIn: [PHONE_CODE_EXPIRED]
The phone code you provided has expired. (method: AuthSignIn) (code 400)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions