I need help for project 3 controlling led

after writing the code it shows 404: Device view not found|

hardware connections are correct

please check this and tell the problem

Hi, @gk798344
You could try out the following suggestions:

  • Ensure Correct Device ID and API Key: Verify that you have set the correct Device ID and API Key. You can do this by checking the values in your Bolt Cloud dashboard.

  • Verify URL: Make sure the script source URL is correct. Ensure there are no typos or extra spaces.

  • Check for Proper Variable Initialization: Ensure that the setKey function has the correct Device ID and API Key.

  • File Path and Extensions: Verify that the file is being served correctly from the right location and has the correct file extension.

Hi @gk798344

Please replace the “Name” placeholder with “led” so that it matches with the variable name. Also make sure that your API key is correct. Then save your code and click on view device.

Do try this and let us know. If you still face any issue, please feel free to get back to us.

Hi
You have not named A0 variable in the hardware, Include the same variable name in your code.

API key and Device name will be auto-initialized by Bolt cloud. You don 't have to replace the device name and API key in the above code.

Hi @gk798344

As discussed over Anydesk support session, the issue was resolved by correcting the syntax of api key and name variable.

If you still face any issue, please feel free to get back to us