Error while sending alert via Telegram; shows device does not exist

This is the error shown. I have corrected the codes as best as I can. I have also made sure API is correct and so is the device ID and all that. Below is my conf.py file


masked

Here is my telegram_alert.py file


Please help me.

In conf.py,
device_id = “BOLT8XX”
Remove the space between "and B.
Also make sure device ID is correct

@alanjoshy101

Do try the solution suggested by @Adith625.

Revert back if you still face this issue.

Thank You. The issue is solved.