Hey im fairly new to node-RED can anyone explain why I’m getting this error?
Where is the error in the func node or when the message is sent to the call service node? It’s probably the url forward slashes of the image address. URL’s passed as variables in HA nodes need an extra set of brackets to pass properly {{{ payload }}}
. I don’t know how to address that for javascript.
The error states that there is no value in element.images[0].url, so make a debug node on the previous nodes output and set it to the complete message object