-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 #3022
Comments
You can receive the error only if you entered the number incorrectly. Make sure that you chosen the correct country +888. |
I'm using the number as +888 0513 XXYY and the number is correct (hence it's able to login via telegram app) but tdlib is still saying it's incorrect |
What error do you receive? |
@ne0c0de it happens when receive login code is disabled on fragment.com website. so make sure it is enabled here. |
when Telegram asks for phone number and I entered it Telegram says that |
TDLib can't say "Invalid phone number". |
I'm using nodejs wrapper for tdlib (https://github.com/Bannerets/tdl) and thios is the error when I entered the phone number, so you say that library checkl the phone number (I guess it's because country code) and giving that error? |
TDLib doesn't check phone number. It can't return the error. And the server can't return the error with text "Invalid phone number" either. |
is there any error case for I asked same question on tdl repo and the developer said that if tdl get that error code then it gives output as Invalid phone number: eilvelia/tdl#171 |
tdl has a simple (optional) login wrapper that prints |
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)Is there any solution for this?
The text was updated successfully, but these errors were encountered: