Getting Device doesn't exists error

While reading LDR sensor value its showing device doesn’t exist in some values although my device is online


please help me out

@asifkareem258

These kinds of errors are common, at times the communication does not cope up with the servers. But you can avoid printing these values.

Write a condition, that’ll print the value only when success = 1.

It should nullify your error.