I have encountered with the following error. Pls help me to solve it.
Hi @jdduttajoy.06,
You do need to put the api_key and device id explicitly. It will auto initialized by bolt cloud.
So keep the code as it is setKey('{{ ApiKey }}','{{ Name }}');
Let me know in case you need further assistance.
@rahul.singh Sir, Still I am having problem
on runing the html part externally in browser, it opens nicely. But when the same code is uploaded, it is showing error
Hi @jdduttajoy.06,
Please do console and check for error or warning message.
Also, share your device with me. My email id is rahul.singh@inventrom.com .
Hi @jdduttajoy.06 ,
There is a typo error in your code.
<script type="text/javascript" scr="http://cloud.boltiot.com/static/js/boltCommands.js">
The correct code will be
<script type="text/javascript" src="http://cloud.boltiot.com/static/js/boltCommands.js">
Let me know in case you need further assistance.
@rahul.singh sir, Same problem.
moreover the code if is directly run then the webpage opens.
but when uploaded, it is showing error
When you are writing HTML code, just ignore the error that the editor is showing. That error is meant only for javascript and not for HTML.