Telegram -999 error correction

Everytime the sensor value is being printed as -999, request was unsuccessful, skipping. How to correct this?

hi @hiremath.nbgoa :blush: :wave:

  1. the analog Read data (response) was being [not equal to 1]–>this condition is being true so this is the first reason to returning a error, you should check the data variable .
    2.finally the second reason is , check the telegram_chat_id, telegram_bot_id and threshold value if there is any mistake it will print a Exception(e).

:pushpin: Attach your coding screenshot in the forum

I hope it will usefull for you: :blush:

@hiremath.nbgoa

Please share your code and output terminal which shows the error.

Once recheck telegram conf.py file and make ensure whether the entered credentials are given correct or not…Conf.py file will contain telegram_chat_id,telegram_bot_id.telegram_chat_id must be under the description where it starts from t.me/xyz copy the text after the /…other one is telegram_bot_id where it is issued by bot_father so that it must starts from bot and now copy that id thereafter.