abhishekjnvk / telegram-channel-downloader

Open Source Node.js script that simplifies scraping media files and messages from Telegram channels, groups, or users, facilitating offline access and storage of images, videos, and documents
106 stars 22 forks source link

Phone not able to auth, even though I get the code #21

Open BCorr-Git opened 2 months ago

BCorr-Git commented 2 months ago

Got the app running, Chose SMS auth, and entered my number (first number entered below). got error ❌ RPCError: 406: SEND_CODE_UNAVAILABLE (caused by auth.ResendCode), But the system did send me the code. No way to proceed?

[2024-09-11T15:21:17.650] [INFO] - [Running gramJS version 2.21.1]
? Where do you want the login OTP: sms
[2024-09-11T15:21:25.877] [INFO] - [Connecting to 149.154.167.91:80/TCPFull...]
[2024-09-11T15:21:27.793] [INFO] - [Connection to 149.154.167.91:80/TCPFull complete!]
[2024-09-11T15:21:27.794] [INFO] - [Using LAYER 179 for initial connect]
? Please enter your mobile number with country code (without +): 264812345678
❌  RPCError: 406: SEND_CODE_UNAVAILABLE (caused by auth.ResendCode)
? Please enter your mobile number with country code (without +): 00264812345678
❌  RPCError: 406: SEND_CODE_UNAVAILABLE (caused by auth.ResendCode)
? Please enter your mobile number with country code (without +): 0812345678
❌  RPCError: 400: PHONE_NUMBER_INVALID (caused by auth.SendCode)