OpenTl / OpenTl.ClientApi

The Api client library that implements the MtProto 2.0. To connect to servers, such as Telegram
MIT License
80 stars 22 forks source link

Always get PHONE_NUMBER_FLOOD during code request #17

Closed MohammadMDSA closed 6 years ago

MohammadMDSA commented 6 years ago

image

Hi Every time I try to request for login code, I get PHONE_NUMBER_FLOOD exception... I tried 5 valid numbers in many different ways(98921239XXXX, +98921239XXXX, 98 921239XXXX and ...) and many invalid ones. Always get PHONE_NUMBER_FLOOD exception although this exception is out of context for some of my errors(Like invalid numbers). Client object is fine and checked appId and appHash for like 100 times. I'll be very grateful if you help me.:)

vik-borisov commented 6 years ago

@MohammadMDSA Hi Wait for the timeout and try again.

MohammadMDSA commented 6 years ago

Switched to Telegram production configuration and the problem was solved.