keyError 'value'

I am not able to figure out what is the problem just 30 min before it was working fine.

Hii @nakuldubey0601
Exactly the same happened with me . This happens because there is a connection error . If you want to check then write
Above the line of " sensor value is"
You will see a connection error
This is because the Virtual box is not getting the internet connection properly. Check ur internet connection and update all the packages by the command
Sudo apt-get -y update
And now run the code
I hope this will work.

1 Like

@nakuldubey0601 its internet bro…I think your bolt device got disconnected check if green led is still glowing.

IF it is then

check your laptop’s connection maybe that got disconnected.

But its no other reason, only INTERNET issue.

1 Like