tdlight-java icon indicating copy to clipboard operation
tdlight-java copied to clipboard

Getting Error "Too Many Requests" while trying to login

Open anandundavia opened this issue 3 years ago • 1 comments

Whenever I try to login, I am getting the following error:

Error {
  code = 429
  message = "Too Many Requests: retry after 64262"
}

I tried to search for the docs, but it seems like these errors are only for Telegram bots and it is only for sending messages. I did not come across any such errors for telegram clients.

The client that I am trying to run DOES NOT send ANY messages to anyone. In fact, there is no client.send() once the authentication flow ends.

Why do I have such an error? How do I get around this?

Using these dependencies:

  • tdlight-java-bom:2.8.4.3
  • tdlight-java
  • tdlight-natives-linux-amd64

anandundavia avatar Aug 21 '22 13:08 anandundavia

too many requests is not only for messages, it's for any type of request

cavallium avatar Aug 22 '22 09:08 cavallium