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.