-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Telegram "Too Many Requests" Error #1220
Copy link
Copy link
Closed
Labels
c1-quick 🕐Complexity lowComplexity lowduplicate 🗐Seen it beforeSeen it beforep0-bug-critical ☢Exception rasingException rasingquestion/docs ‽Documentation clarification candidateDocumentation clarification candidatesubmodule ⊂Periphery/subclassesPeriphery/subclassesto-fix ⌛In progressIn progress
Milestone
Metadata
Metadata
Assignees
Labels
c1-quick 🕐Complexity lowComplexity lowduplicate 🗐Seen it beforeSeen it beforep0-bug-critical ☢Exception rasingException rasingquestion/docs ‽Documentation clarification candidateDocumentation clarification candidatesubmodule ⊂Periphery/subclassesPeriphery/subclassesto-fix ⌛In progressIn progress
read the known issues
environment, where applicable:
==
2.22.0 4.50.2 3.7.7 (default, May 6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)] win32
Windows-10-10.0.19041-SP0
Issue can be reproduced by:
The error I got was KeyError: 'result' resulted from
tqdm\contrib\telegram.py in init(self, token, chat_id)
self.message_id = res.json()['result']['message_id']
The content of res.json() was:
{'ok': False, 'error_code': 429, 'description': 'Too Many Requests: retry after 3', 'parameters': {'retry_after': 3}}