Device restarting and checking the status

when i am executing the code of this project i am getting an error like device does not exist.
please help me

Hello. Can you please let me know which project are you doing now.

You should check your bolt connection status and also once go through the code.