Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid phone number error on fragment numbers #171

Open
ne0c0de opened this issue Aug 14, 2024 · 4 comments
Open

Invalid phone number error on fragment numbers #171

ne0c0de opened this issue Aug 14, 2024 · 4 comments

Comments

@ne0c0de
Copy link

ne0c0de commented Aug 14, 2024

Hi,

I'm getting Invalid phone number when I try to login with a telegram account with the phone number purchased from fragment.com (whis is an official Telegram project too, and it's an active Telegram account)

I also asked same question on tdlib repo and the contributor says that there's no error like this able to return by tdlib

I think tdl is doing country code check which is fails on fragment numbers because they are using +888 as country code number

Is there any solution for this?

@eilvelia
Copy link
Owner

Hi; tdl doesn't do any country code checks, it just passes the number to TDLib. client.login by default outputs Invalid phone number to the console in case PHONE_NUMBER_INVALID is received from TDLib. Are you able to log in with a non-+888 number?

@ne0c0de
Copy link
Author

ne0c0de commented Aug 14, 2024

The number is in +888 0513 XXYY (without spaces) and I'm getting Invalid phone number error when I try to login with it

@eilvelia
Copy link
Owner

Have you tried tdlib/td#3022 (comment)?

@ne0c0de
Copy link
Author

ne0c0de commented Aug 14, 2024

I'm waiting my customer for check this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants