I have an error message "SyntaxError: missing ) after argument list" Kindly help resolve
Asked
Active
Viewed 64 times
-5
-
Hey Mahima, please include images here in your question. Even better, please include the actual error here, as well as the code that caused the error! Having said that, you are missing a closing parenthesis on the line `device.publish(...` Please read [How to ask a good question](https://stackoverflow.com/help/how-to-ask), it'll help make sure your questions do not get closed, as well as get better answers. – Evan Bechtol Apr 26 '19 at 20:35
2 Answers
0
The device.publish[...]
line is missing the closing parenthesis at the end. Next time please post your code inline

Steve T
- 570
- 4
- 13
0
you just missed out one ) bracket on end of the following code:
device.publish('MyBusPolicy',JSON.stringify({test_data:'nodejs....'}))

Vikas Jangra
- 175
- 2
- 9