Call Service msg.payload issue (Node-RED)

I’m trying to send a random quote from the Random Quote node (link). I cannot get the message to send properly. The first flow works perfectly, grabbing 1 of 30 quotes I manually entered and passes it to the message. The second does not work and returns the following error:

""Call-service API error. Error Message: extra keys not allowed @ data['0']""

I’ve tried deleting msg.payload.data and msg.payload.topic with change node and no change. Any help would be greatly appreciated!

First notification flow using my own array of messages. No API error and sends correctly to mobile app (ios). Returns a proper message and notifies me.

[{"id":"69d7998c.83a7a8","type":"inject","z":"c399ef0a.b9079","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1400,"y":1880,"wires":[["393cbacb.d9ee06"]]},{"id":"393cbacb.d9ee06","type":"random","z":"c399ef0a.b9079","name":"","low":"0","high":"29","inte":"true","property":"payload","x":1560,"y":1880,"wires":[["5616dd37.7c14f4"]]},{"id":"5616dd37.7c14f4","type":"function","z":"c399ef0a.b9079","name":"Random Msg","func":"var newMsg = \n[\n{payload: \"“People often say that motivation doesn’t last. Well, neither does bathing – that’s why we recommend it daily.” – Zig Ziglar\"},\n{payload: \"“Each morning we are born again. What we do today is what matters most.” – Buddha\"},\n{payload: \"“Make each day your masterpiece.” – John Wooden\"},\n{payload: \"“Your imagination is your preview of life’s coming attractions.” – Albert Einstein\"},\n{payload: \"“Someday is not a day of the week.” – Denise Brennan-Nelson\"},\n{payload: \"“It’s time to start living the life you’ve imagined.” – Henry James\"},\n{payload: \"“The difference between ordinary and extraordinary is that little extra.” – Jimmy Johnson\"},\n{payload: \"“It is never too late to be what you might have been.” – George Elliot\"},\n{payload: \"“Your time is limited, so don’t waste it living someone else’s life.” – Steve Jobs\"},\n{payload: \"“Life is what we make it, always has been, always will be.” – Grandma Moses\"},\n{payload: \"“The journey of a thousand miles begins with one step.” – Lao Tzu\"},\n{payload: \"“Happiness is not something readymade. It comes from your own actions.” – Dalai Lama\"},\n{payload: \"“When I let go of what I am, I become what I might be.” – Lao Tzu\"},\n{payload: \"“Either you run the day, or the day runs you.” – Jin Rohn\"},\n{payload: \"“Though no one can go back and make a brand new start, anyone can start from now and make a brand new ending.” – Carl Bard\"},\n{payload: \"“What lies behind us and what lies before us are tiny matters compared to what lies within us.” – Henry S. Haskins\"},\n{payload: \"“The best way to predict the future is to invent it.” – Alan Kay\"},\n{payload: \"“If you cannot do great things, do small things in a great way.” – Napoleon Hill\"},\n{payload: \"“You make a living by what you get; you make a life by what you give.” – Winston Churchill\"},\n{payload: \"“Keep your face to the sunshine and you cannot see a shadow.” – Helen Keller\"},\n{payload: \"“The best way out is always through.” – Robert Frost\"},\n{payload: \"“The best dreams happen when you’re awake.” – Cherie Gilderbloom\"},\n{payload: \"“Don’t wait. The time will never be just right.” – Napoleon Hill\"},\n{payload: \"“Do what you love and the money will follow.” – Marsha Sinetar\"},\n{payload: \"“The harder I work, the luckier I get.” – Gary Player\"},\n{payload: \"“The dreamers are the saviors of the world.” – James Allen\"},\n{payload: \"“Champions keep playing until they get it right.” – Billie Jean King\"},\n{payload: \"“Just keep going. Everybody gets better if they keep at it.” – Ted Williams\"},\n{payload: \"“There are two primary choices in life: to accept conditions as they exist, or accept the responsibility for changing them.” – Denis Waitley\"},\n{payload: \"“We are what we repeatedly do. Excellence, then, is not an act, but a habit.” – Aristotle\"},\n];\n\nreturn newMsg[msg.payload];","outputs":1,"noerr":0,"x":1740,"y":1880,"wires":[["68d11410.8db7cc","36a54928.f745e6"]]},{"id":"68d11410.8db7cc","type":"debug","z":"c399ef0a.b9079","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1910,"y":1820,"wires":[]},{"id":"36a54928.f745e6","type":"api-call-service","z":"c399ef0a.b9079","name":"Notify X:","server":"9abddab9.60bd38","version":1,"service_domain":"notify","service":"mobile_app_X","entityId":"","data":"{\"message\": \"{{payload}}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1920,"y":1880,"wires":[[]]},{"id":"9abddab9.60bd38","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]

Second notification using Random Quote node. Call-service fails with API error. On the complete debug message the only difference I see is that it included “topic: “””

[{"id":"6e9a28bc.6b1458","type":"quotes","z":"c399ef0a.b9079","source":"forismatic","markdown":false,"x":1580,"y":1940,"wires":[["7ec4e447.bf263c","6d7d510f.f14c6"]]},{"id":"33c017e0.aa66b8","type":"inject","z":"c399ef0a.b9079","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1400,"y":1940,"wires":[["6e9a28bc.6b1458"]]},{"id":"7ec4e447.bf263c","type":"debug","z":"c399ef0a.b9079","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1910,"y":2000,"wires":[]},{"id":"6d7d510f.f14c6","type":"api-call-service","z":"c399ef0a.b9079","name":"Notify X","server":"9abddab9.60bd38","version":1,"service_domain":"notify","service":"mobile_app_X","entityId":"","data":"{\"message\": \"{{payload}}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1920,"y":1940,"wires":[[]]},{"id":"9abddab9.60bd38","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]

And just for fun, here is where it fits in. My wife has Type 1 and I made a reminder to open her cabinet at 8:00AM every morning. If she doesn’t, it reminds her every 10 min until she does. 3 min after she opens the cabinet, it send a random message. Would love to have the random quote node working with this.

[{"id":"c14a00f4.cf197","type":"switch","z":"c399ef0a.b9079","name":"Is it Time?","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"},{"t":"eq","v":"False","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1390,"y":2500,"wires":[["2f8c4629.e0642a"],[]]},{"id":"fa41a357.d3d6b","type":"function","z":"c399ef0a.b9079","name":"Compare","func":"newmsg = {};\nif (msg.payload[1] == msg.payload[0]) {\n    newmsg.payload = \"True\";\n} else {\n    newmsg.payload = \"False\";\n}\n\nreturn newmsg;","outputs":1,"noerr":0,"x":1380,"y":2440,"wires":[["c14a00f4.cf197"]]},{"id":"2f8c4629.e0642a","type":"api-call-service","z":"c399ef0a.b9079","name":"Insulin Alarm Reset","server":"9abddab9.60bd38","version":1,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.insulin_switch","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1610,"y":2440,"wires":[[]]},{"id":"4143cfa7.0f712","type":"join","z":"c399ef0a.b9079","name":"","mode":"custom","build":"array","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1370,"y":2380,"wires":[["fa41a357.d3d6b"]]},{"id":"a3d1d038.8b22a","type":"moment","z":"c399ef0a.b9079","name":"00:15","topic":"","input":"00:15","inputType":"str","inTz":"America/Denver","adjAmount":"0","adjType":"minutes","adjDir":"subtract","format":"HH:mm","locale":"C","output":"payload","outputType":"msg","outTz":"America/Denver","x":1150,"y":2500,"wires":[["4143cfa7.0f712"]]},{"id":"593d9aa2.e3e4e4","type":"moment","z":"c399ef0a.b9079","name":"Current Time","topic":"","input":"payload","inputType":"msg","inTz":"America/Denver","adjAmount":"0","adjType":"minutes","adjDir":"subtract","format":"HH:mm","locale":"C","output":"payload","outputType":"msg","outTz":"America/Denver","x":1170,"y":2460,"wires":[["4143cfa7.0f712"]]},{"id":"ec824f6a.9a68a","type":"api-current-state","z":"c399ef0a.b9079","name":"Insulin Alarm","server":"9abddab9.60bd38","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.insulin_automation","state_type":"str","state_location":"","override_payload":"none","entity_location":"","override_data":"none","blockInputOverrides":false,"x":490,"y":2500,"wires":[["61b31.1219b4d","b72bf2e7.da609","593d9aa2.e3e4e4","a3d1d038.8b22a"],[]]},{"id":"61b31.1219b4d","type":"moment","z":"c399ef0a.b9079","name":"8:00","topic":"","input":"8:00","inputType":"str","inTz":"America/Denver","adjAmount":"0","adjType":"minutes","adjDir":"subtract","format":"HH:mm","locale":"C","output":"payload","outputType":"msg","outTz":"America/Denver","x":710,"y":2500,"wires":[["c1c8550a.a38268"]]},{"id":"b72bf2e7.da609","type":"moment","z":"c399ef0a.b9079","name":"Current Time","topic":"","input":"payload","inputType":"msg","inTz":"America/Denver","adjAmount":"0","adjType":"minutes","adjDir":"subtract","format":"HH:mm","locale":"C","output":"payload","outputType":"msg","outTz":"America/Denver","x":730,"y":2460,"wires":[["c1c8550a.a38268"]]},{"id":"b622e8da.af0418","type":"inject","z":"c399ef0a.b9079","name":"Every Minute","topic":"","payload":"","payloadType":"date","repeat":"60","crontab":"","once":false,"onceDelay":0.1,"x":300,"y":2500,"wires":[["ec824f6a.9a68a"]]},{"id":"c1c8550a.a38268","type":"join","z":"c399ef0a.b9079","name":"","mode":"custom","build":"array","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":970,"y":2460,"wires":[["7b42f9cb.ad3a48"]]},{"id":"7b42f9cb.ad3a48","type":"function","z":"c399ef0a.b9079","name":"Compare","func":"newmsg = {};\nif (msg.payload[1] == msg.payload[0]) {\n    newmsg.payload = \"True\";\n} else {\n    newmsg.payload = \"False\";\n}\n\nreturn newmsg;","outputs":1,"noerr":0,"x":980,"y":2520,"wires":[["3fb82bc5.7a87b4"]]},{"id":"3fb82bc5.7a87b4","type":"switch","z":"c399ef0a.b9079","name":"Is it Time?","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"},{"t":"eq","v":"False","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":990,"y":2580,"wires":[["a5bfc68f.6974c8"],[]]},{"id":"a5bfc68f.6974c8","type":"api-current-state","z":"c399ef0a.b9079","name":"Toggle","server":"9abddab9.60bd38","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.insulin_switch","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1170,"y":2580,"wires":[["3bdca67.bdf5d5a"],[]]},{"id":"3bdca67.bdf5d5a","type":"api-call-service","z":"c399ef0a.b9079","name":"Notify Sarah: Insulin","server":"9abddab9.60bd38","version":1,"service_domain":"notify","service":"mobile_app_sarah_iphone11","entityId":"","data":"{\"message\":\"Take your insulin! 💉💊💉💊💉💊💉\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1380,"y":2580,"wires":[["f6327be3.9caa18"]]},{"id":"f6327be3.9caa18","type":"trigger","z":"c399ef0a.b9079","op1":"","op2":"","op1type":"nul","op2type":"payl","duration":"10","extend":true,"units":"min","reset":"","bytopic":"all","name":"","x":1670,"y":2580,"wires":[["f558a1f1.a4bdf","3bdca67.bdf5d5a"]]},{"id":"f558a1f1.a4bdf","type":"change","z":"c399ef0a.b9079","name":"","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1660,"y":2520,"wires":[["f6327be3.9caa18"]]},{"id":"e8c03171.854ba","type":"change","z":"c399ef0a.b9079","name":"","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":1380,"y":2720,"wires":[["f6327be3.9caa18"]]},{"id":"b607a53b.a64578","type":"switch","z":"c399ef0a.b9079","name":"Is it Time?","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"},{"t":"eq","v":"False","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1170,"y":2740,"wires":[["e8c03171.854ba"],["564676f.052ab88","599df2af.015c3c"]]},{"id":"bb9f0cc9.91cd9","type":"function","z":"c399ef0a.b9079","name":"Compare","func":"newmsg = {};\nif ((msg.payload[1] >= msg.payload[0]) && (msg.payload[1] <= msg.payload[2])){\n    newmsg.payload = \"True\";\n} else {\n    newmsg.payload = \"False\";\n}\n\nreturn newmsg;","outputs":1,"noerr":0,"x":1000,"y":2700,"wires":[["b607a53b.a64578"]]},{"id":"564676f.052ab88","type":"api-current-state","z":"c399ef0a.b9079","name":"Toggle","server":"9abddab9.60bd38","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.insulin_switch","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1350,"y":2840,"wires":[["6ea43305.2b5c1c"],[]]},{"id":"599df2af.015c3c","type":"api-call-service","z":"c399ef0a.b9079","name":"Insulin Alarm Off","server":"9abddab9.60bd38","version":1,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.insulin_switch","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1380,"y":2780,"wires":[[]]},{"id":"757388c7.442d48","type":"function","z":"c399ef0a.b9079","name":"Compare","func":"newmsg = {};\nif (msg.payload[0] >= msg.payload[1]) {\n    newmsg.payload = \"True\";\n} else {\n    newmsg.payload = \"False\";\n}\n\nreturn newmsg;","outputs":1,"noerr":0,"x":1000,"y":2800,"wires":[["b607a53b.a64578"]]},{"id":"e3978d05.61c61","type":"join","z":"c399ef0a.b9079","name":"","mode":"custom","build":"array","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"3","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":850,"y":2700,"wires":[["bb9f0cc9.91cd9"]]},{"id":"6ea43305.2b5c1c","type":"trigger","z":"c399ef0a.b9079","op1":"","op2":"","op1type":"nul","op2type":"payl","duration":"3","extend":true,"units":"min","reset":"","bytopic":"all","name":"","x":1610,"y":2780,"wires":[["5e99ab8f.b0d134"]]},{"id":"cffe086d.825668","type":"join","z":"c399ef0a.b9079","name":"","mode":"custom","build":"array","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":850,"y":2800,"wires":[["757388c7.442d48"]]},{"id":"59561fb2.2ec69","type":"moment","z":"c399ef0a.b9079","name":"8:00","topic":"","input":"8:00","inputType":"str","inTz":"America/Denver","adjAmount":"0","adjType":"minutes","adjDir":"subtract","format":"H:mm","locale":"C","output":"payload","outputType":"msg","outTz":"America/Denver","x":650,"y":2740,"wires":[["e3978d05.61c61"]]},{"id":"1071cb04.35a8b5","type":"moment","z":"c399ef0a.b9079","name":"1:00","topic":"","input":"1:00","inputType":"str","inTz":"America/Denver","adjAmount":"0","adjType":"minutes","adjDir":"subtract","format":"H:mm","locale":"C","output":"payload","outputType":"msg","outTz":"America/Denver","x":650,"y":2660,"wires":[["e3978d05.61c61"]]},{"id":"7651fab0.ac5494","type":"moment","z":"c399ef0a.b9079","name":"Current Time","topic":"","input":"foo","inputType":"msg","inTz":"America/Denver","adjAmount":"0","adjType":"minutes","adjDir":"subtract","format":"H:mm","locale":"C","output":"payload","outputType":"msg","outTz":"America/Denver","x":670,"y":2700,"wires":[["e3978d05.61c61"]]},{"id":"5e99ab8f.b0d134","type":"random","z":"c399ef0a.b9079","name":"","low":"0","high":"29","inte":"true","property":"payload","x":1780,"y":2780,"wires":[["d2df6b66.131368"]]},{"id":"d89d94d.6135468","type":"moment","z":"c399ef0a.b9079","name":"8:00","topic":"","input":"8:00","inputType":"str","inTz":"America/Denver","adjAmount":"0","adjType":"minutes","adjDir":"subtract","format":"HH:mm","locale":"C","output":"payload","outputType":"msg","outTz":"America/Denver","x":650,"y":2840,"wires":[["cffe086d.825668"]]},{"id":"d0bf3c03.8d393","type":"moment","z":"c399ef0a.b9079","name":"Current Time","topic":"","input":"foo2","inputType":"msg","inTz":"America/Denver","adjAmount":"0","adjType":"minutes","adjDir":"subtract","format":"HH:mm","locale":"C","output":"payload","outputType":"msg","outTz":"America/Denver","x":670,"y":2800,"wires":[["cffe086d.825668"]]},{"id":"f833ff58.23b16","type":"api-current-state","z":"c399ef0a.b9079","name":"Insulin Alarm","server":"9abddab9.60bd38","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.insulin_automation","state_type":"str","state_location":"","override_payload":"none","entity_location":"","override_data":"none","blockInputOverrides":false,"x":470,"y":2760,"wires":[["1071cb04.35a8b5","7651fab0.ac5494","59561fb2.2ec69","d0bf3c03.8d393","d89d94d.6135468"],[]]},{"id":"d2df6b66.131368","type":"function","z":"c399ef0a.b9079","name":"Random Msg","func":"var newMsg = \n[\n{payload: \"“People often say that motivation doesn’t last. Well, neither does bathing – that’s why we recommend it daily.” – Zig Ziglar\"},\n{payload: \"“Each morning we are born again. What we do today is what matters most.” – Buddha\"},\n{payload: \"“Make each day your masterpiece.” – John Wooden\"},\n{payload: \"“Your imagination is your preview of life’s coming attractions.” – Albert Einstein\"},\n{payload: \"“Someday is not a day of the week.” – Denise Brennan-Nelson\"},\n{payload: \"“It’s time to start living the life you’ve imagined.” – Henry James\"},\n{payload: \"“The difference between ordinary and extraordinary is that little extra.” – Jimmy Johnson\"},\n{payload: \"“It is never too late to be what you might have been.” – George Elliot\"},\n{payload: \"“Your time is limited, so don’t waste it living someone else’s life.” – Steve Jobs\"},\n{payload: \"“Life is what we make it, always has been, always will be.” – Grandma Moses\"},\n{payload: \"“The journey of a thousand miles begins with one step.” – Lao Tzu\"},\n{payload: \"“Happiness is not something readymade. It comes from your own actions.” – Dalai Lama\"},\n{payload: \"“When I let go of what I am, I become what I might be.” – Lao Tzu\"},\n{payload: \"“Either you run the day, or the day runs you.” – Jin Rohn\"},\n{payload: \"“Though no one can go back and make a brand new start, anyone can start from now and make a brand new ending.” – Carl Bard\"},\n{payload: \"“What lies behind us and what lies before us are tiny matters compared to what lies within us.” – Henry S. Haskins\"},\n{payload: \"“The best way to predict the future is to invent it.” – Alan Kay\"},\n{payload: \"“If you cannot do great things, do small things in a great way.” – Napoleon Hill\"},\n{payload: \"“You make a living by what you get; you make a life by what you give.” – Winston Churchill\"},\n{payload: \"“Keep your face to the sunshine and you cannot see a shadow.” – Helen Keller\"},\n{payload: \"“The best way out is always through.” – Robert Frost\"},\n{payload: \"“The best dreams happen when you’re awake.” – Cherie Gilderbloom\"},\n{payload: \"“Don’t wait. The time will never be just right.” – Napoleon Hill\"},\n{payload: \"“Do what you love and the money will follow.” – Marsha Sinetar\"},\n{payload: \"“The harder I work, the luckier I get.” – Gary Player\"},\n{payload: \"“The dreamers are the saviors of the world.” – James Allen\"},\n{payload: \"“Champions keep playing until they get it right.” – Billie Jean King\"},\n{payload: \"“Just keep going. Everybody gets better if they keep at it.” – Ted Williams\"},\n{payload: \"“There are two primary choices in life: to accept conditions as they exist, or accept the responsibility for changing them.” – Denis Waitley\"},\n{payload: \"“We are what we repeatedly do. Excellence, then, is not an act, but a habit.” – Aristotle\"},\n];\n\nreturn newMsg[msg.payload];","outputs":1,"noerr":0,"x":1960,"y":2780,"wires":[["c9d98a00.124508"]]},{"id":"68a58bd3.70bea4","type":"server-state-changed","z":"c399ef0a.b9079","name":"Insulin Sensor","server":"9abddab9.60bd38","version":1,"entityidfilter":"binary_sensor.wyzesense_77876462","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"x":270,"y":2760,"wires":[["f833ff58.23b16"],[]]},{"id":"c9d98a00.124508","type":"api-call-service","z":"c399ef0a.b9079","name":"Notify Sarah: Insulin","server":"9abddab9.60bd38","version":1,"service_domain":"notify","service":"mobile_app_sarah_iphone11","entityId":"","data":"{\"message\": \"{{payload}}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":2180,"y":2780,"wires":[[]]},{"id":"9abddab9.60bd38","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]

The newline character in the quotes is causing the JSON to not parse correctly.

In the call-service node change the data field type to JSONata Expression and use

{"message": payload }

Kermit to the rescue again. That solved it. I had an inclination that the carriage return symbol was doing something unfriendly. Wasn’t sure how to get by that. ! Thank you!