Skip to content

Telegram API call unsuccessful #6

@denisq

Description

@denisq

Hi, I come across the following error and it does not seem to be the first time:

2024-12-09 01:47:39,491 (async_telebot.py:431 MainThread) ERROR - TeleBot: "Unhandled exception (full traceback for debug level): A request to the Telegram API was unsuccessful. Error code: 502. Description: Bad Gateway"

Is it a common issue? Any chance you could handle such an unsuccessful API call to prevent the script from failing? My concern is that I can't leave the script run in the background without worrying if it is still alive or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions