# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=303

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

**Page:** 304

---

## [Variable global](https://discourse.nodered.org/t/variable-global/69662)

<div class="topic-metadata">

**Author:** [@Giacomo23](https://discourse.nodered.org/u/Giacomo23)\
**Replies:** 5\
**Last updated:** [27 October 2022 09:34 UTC](https://discourse.nodered.org/t/variable-global/69662 "2022-10-27T09:34:12Z")

</div>

hi everyone, I'm trying to create a global variable but it is registered as an object and not as a value, what can I do? Example I would like the output of the "file\_iniziale" variable to be the same format as the "file…

---

## [Unable to click inject or debug nodes?](https://discourse.nodered.org/t/unable-to-click-inject-or-debug-nodes/69339)

<div class="topic-metadata">

**Author:** [@Peejay](https://discourse.nodered.org/u/Peejay)\
**Replies:** 2\
**Last updated:** [27 October 2022 08:27 UTC](https://discourse.nodered.org/t/unable-to-click-inject-or-debug-nodes/69339 "2022-10-27T08:27:21Z")

</div>

Hi group! First post so go easy on me :slight\_smile: Relative newcomer to node red, I run it in Home Assistant on an rPi4 and it has worked flawlessly over well over a year, but lately I've run into the above issue (las…

---

## [Backing up installed nodes on Ubuntu?](https://discourse.nodered.org/t/backing-up-installed-nodes-on-ubuntu/68871)

<div class="topic-metadata">

**Author:** [@Hitman2847](https://discourse.nodered.org/u/Hitman2847)\
**Replies:** 10\
**Last updated:** [27 October 2022 08:20 UTC](https://discourse.nodered.org/t/backing-up-installed-nodes-on-ubuntu/68871 "2022-10-27T08:20:45Z")

</div>

I know this question was asked elsewhere and answered, but my problem expands and the answer does not apply to my case. The VM I am using is a Ubuntu (I think the version is 21, or up, will post the exact version when I…

---

## [Node-red-contrib-configurable-soap-server](https://discourse.nodered.org/t/node-red-contrib-configurable-soap-server/69659)

<div class="topic-metadata">

**Author:** [@ana1955](https://discourse.nodered.org/u/ana1955)\
**Replies:** 0\
**Last updated:** [27 October 2022 07:24 UTC](https://discourse.nodered.org/t/node-red-contrib-configurable-soap-server/69659 "2022-10-27T07:24:15Z")

</div>

I have an external .xsd file to be referred in the .wsdl that is copied into this server node. Where should the .xsd file be placed in the directory structure so that its path is provided in the wsdl.

---

## [Request entity too large 413](https://discourse.nodered.org/t/request-entity-too-large-413/2397)

<div class="topic-metadata">

**Author:** [@highlow](https://discourse.nodered.org/u/highlow)\
**Replies:** 5\
**Last updated:** [27 October 2022 06:43 UTC](https://discourse.nodered.org/t/request-entity-too-large-413/2397 "2022-10-27T06:43:19Z")

</div>

Hi, I have a relatively big flow and I can't deploy anymore. I'm still receiving this error "Request entity too large 413" I don't know what to do... I've tried the following: //httpAdminRoot:"/admin", debugMaxLengt…

---

## [Convert array values to array of objects](https://discourse.nodered.org/t/convert-array-values-to-array-of-objects/69652)

<div class="topic-metadata">

**Author:** [@MrThiemann](https://discourse.nodered.org/u/MrThiemann)\
**Replies:** 2\
**Last updated:** [27 October 2022 04:32 UTC](https://discourse.nodered.org/t/convert-array-values-to-array-of-objects/69652 "2022-10-27T04:32:53Z")

</div>

Hey :wave:, i want to change my payload\[...\]\[0\] and payload\[...\]\[1\] 0 == articlenumber 1 == stock I would like to attach an image here, but somehow the upload is not working right now {"\_msgid":"01cf032528f70f17","p…

---

## [Missing labels in editor](https://discourse.nodered.org/t/missing-labels-in-editor/67754)

<div class="topic-metadata">

**Author:** [@C.Sa](https://discourse.nodered.org/u/C.Sa)\
**Replies:** 24\
**Last updated:** [27 October 2022 00:28 UTC](https://discourse.nodered.org/t/missing-labels-in-editor/67754 "2022-10-27T00:28:18Z")

</div>

Hi, I was working on a node-red server (v1.3.7) and all the default labels of the editor disappeared after a flow deploy. Among others, the deploy button now shows "deploy.deploy", menu items are like "menu.label.edit"…

---

## [Running Node Red as a service on Raspberry Pi 4](https://discourse.nodered.org/t/running-node-red-as-a-service-on-raspberry-pi-4/69646)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 3\
**Last updated:** [26 October 2022 21:52 UTC](https://discourse.nodered.org/t/running-node-red-as-a-service-on-raspberry-pi-4/69646 "2022-10-26T21:52:32Z")

</div>

If I run Node Red as a service that starts up at boot, will my flow automattically start or will I somehow have to start it also?

---

## [Exec fails to execute all instrution in a bash script](https://discourse.nodered.org/t/exec-fails-to-execute-all-instrution-in-a-bash-script/69587)

<div class="topic-metadata">

**Author:** [@RayMN](https://discourse.nodered.org/u/RayMN)\
**Replies:** 18\
**Last updated:** [26 October 2022 17:26 UTC](https://discourse.nodered.org/t/exec-fails-to-execute-all-instrution-in-a-bash-script/69587 "2022-10-26T17:26:35Z")

</div>

I am executing a bash script from the exec node. It's a fairly long script with 18 sleeps of 15 seconds each and 18 ssh commands and some local commands in between. It seems to stop in the script at somewhat random point…

---

## [Node-red-contrib-web-worldmap adding/deleting points on the map](https://discourse.nodered.org/t/node-red-contrib-web-worldmap-adding-deleting-points-on-the-map/69591)

<div class="topic-metadata">

**Author:** [@mrdvt92](https://discourse.nodered.org/u/mrdvt92)\
**Replies:** 6\
**Last updated:** [26 October 2022 15:54 UTC](https://discourse.nodered.org/t/node-red-contrib-web-worldmap-adding-deleting-points-on-the-map/69591 "2022-10-26T15:54:32Z")

</div>

What is the logic for adding and deleting points on the map? I see "deleted":true but how do you keep track of the state to figure out which ones to delete. My current map when I move the boundary it clears and then sel…

---

## [Way to store flows in mssql dB](https://discourse.nodered.org/t/way-to-store-flows-in-mssql-db/69624)

<div class="topic-metadata">

**Author:** [@kaliprasadkandula](https://discourse.nodered.org/u/kaliprasadkandula)\
**Replies:** 1\
**Last updated:** [26 October 2022 14:02 UTC](https://discourse.nodered.org/t/way-to-store-flows-in-mssql-db/69624 "2022-10-26T14:02:07Z")

</div>

Hi everyone, I have a task to add the flows to mssql database when deploy button is pushed and get flows from mssql database when reloaded ,Not sure how to do this any help would be greatful

---

## [How can null characters in a string be ignored?](https://discourse.nodered.org/t/how-can-null-characters-in-a-string-be-ignored/69598)

<div class="topic-metadata">

**Author:** [@muharremsari](https://discourse.nodered.org/u/muharremsari)\
**Replies:** 4\
**Last updated:** [26 October 2022 12:00 UTC](https://discourse.nodered.org/t/how-can-null-characters-in-a-string-be-ignored/69598 "2022-10-26T12:00:13Z")

</div>

I am getting a 12 character string value with a terminating character over TCP/IP. But I get a data type error in the debug message. "TypeError: The argument 'newPath' must be a string or Uint8Array without null bytes. R…

---

## [How to sum 2 msg coming in asynchronously?](https://discourse.nodered.org/t/how-to-sum-2-msg-coming-in-asynchronously/69612)

<div class="topic-metadata">

**Author:** [@Parowek](https://discourse.nodered.org/u/Parowek)\
**Replies:** 2\
**Last updated:** [26 October 2022 11:59 UTC](https://discourse.nodered.org/t/how-to-sum-2-msg-coming-in-asynchronously/69612 "2022-10-26T11:59:52Z")

</div>

Hello Im fairly new to Node Red so the solution may seem obvious, but i just got stuck and can't figure it ou I want to get a sum of 2 messages - first one comes from a date picker, the second one comes from a dropdown…

---

## [Send JWT authenticated requests to REST API](https://discourse.nodered.org/t/send-jwt-authenticated-requests-to-rest-api/69604)

<div class="topic-metadata">

**Author:** [@kitkat159](https://discourse.nodered.org/u/kitkat159)\
**Replies:** 1\
**Last updated:** [26 October 2022 11:35 UTC](https://discourse.nodered.org/t/send-jwt-authenticated-requests-to-rest-api/69604 "2022-10-26T11:35:41Z")

</div>

Hey everyone, I want to create nodes to access a custom REST API. This API uses JWT for authentication. I know, that in the http request node you can set a token, but I don't want to do that manually since the token ex…

---

## [Bypass HTTP Node Security prompt for uibuilder, but not dashboard](https://discourse.nodered.org/t/bypass-http-node-security-prompt-for-uibuilder-but-not-dashboard/69472)

<div class="topic-metadata">

**Author:** [@standeven](https://discourse.nodered.org/u/standeven)\
**Replies:** 3\
**Last updated:** [26 October 2022 11:32 UTC](https://discourse.nodered.org/t/bypass-http-node-security-prompt-for-uibuilder-but-not-dashboard/69472 "2022-10-26T11:32:37Z")

</div>

I currently have Node-Red serving two pages for a control system. The first page was built using node-red-dashboard nodes and requires HTTP authentication to access. The second page, a simple display of values from the s…

---

## [Await delay(1000) - error in array](https://discourse.nodered.org/t/await-delay-1000-error-in-array/69589)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 8\
**Last updated:** [26 October 2022 11:31 UTC](https://discourse.nodered.org/t/await-delay-1000-error-in-array/69589 "2022-10-26T11:31:12Z")

</div>

Hi, I try to use await delay(1000) into this function const delay = ms =\> new Promise(res =\> context.set("timer", setTimeout(res, ms))); //x is an array const x = msg.payload; x.forEach(element =\> { const valore …

---

## [Prototype pollution vulnerability in function DEFNODE](https://discourse.nodered.org/t/prototype-pollution-vulnerability-in-function-defnode/69596)

<div class="topic-metadata">

**Author:** [@suraj\_k](https://discourse.nodered.org/u/suraj_k)\
**Replies:** 3\
**Last updated:** [26 October 2022 11:06 UTC](https://discourse.nodered.org/t/prototype-pollution-vulnerability-in-function-defnode/69596 "2022-10-26T11:06:15Z")

</div>

There is an issue in my node package "uglify-js": "3.16.3" Prototype pollution vulnerability in function DEFNODE in ast.js in mishoo UglifyJS via the name variable in ast.js. You can see more on this link here

---

## [How to read all values from Fritz Dect 440 in Node red?](https://discourse.nodered.org/t/how-to-read-all-values-from-fritz-dect-440-in-node-red/69102)

<div class="topic-metadata">

**Author:** [@Troedler77](https://discourse.nodered.org/u/Troedler77)\
**Replies:** 1\
**Last updated:** [26 October 2022 08:51 UTC](https://discourse.nodered.org/t/how-to-read-all-values-from-fritz-dect-440-in-node-red/69102 "2022-10-26T08:51:07Z")

</div>

Hello I want to use all values from Fritz Dect 440 in Node Red. Temperature is working I need help for : Humidity and all 4 buttons Could someone please help an beginner ...Thanks in advance

---

## [How to build nodered applications into exe](https://discourse.nodered.org/t/how-to-build-nodered-applications-into-exe/69559)

<div class="topic-metadata">

**Author:** [@ahmedabdalrahiem](https://discourse.nodered.org/u/ahmedabdalrahiem)\
**Replies:** 3\
**Last updated:** [25 October 2022 20:38 UTC](https://discourse.nodered.org/t/how-to-build-nodered-applications-into-exe/69559 "2022-10-25T20:38:49Z")

</div>

Hello, I wonder how can i convert a nodered application with ui to an exe file?

---

## [How to save several states of a climate the best?](https://discourse.nodered.org/t/how-to-save-several-states-of-a-climate-the-best/69525)

<div class="topic-metadata">

**Author:** [@u20p17](https://discourse.nodered.org/u/u20p17)\
**Replies:** 8\
**Last updated:** [25 October 2022 19:53 UTC](https://discourse.nodered.org/t/how-to-save-several-states-of-a-climate-the-best/69525 "2022-10-25T19:53:37Z")

</div>

Hi all, I have mounted a window open/closed sensor at my window (which sends the data via mqtt) and I am planning to do the following with NodeRed (and HomeAssistant): If I open the window, NodeRed should save the clim…

---

## [Flow group background color coding best practices/suggestions](https://discourse.nodered.org/t/flow-group-background-color-coding-best-practices-suggestions/69547)

<div class="topic-metadata">

**Author:** [@DiverRich](https://discourse.nodered.org/u/DiverRich)\
**Replies:** 4\
**Last updated:** [25 October 2022 17:19 UTC](https://discourse.nodered.org/t/flow-group-background-color-coding-best-practices-suggestions/69547 "2022-10-25T17:19:51Z")

</div>

As my home automation flows grow larger and more complex, I'm finding that background colors for my groups are quite helpful for quickly finding things within my flows. This got me to wondering if there are any "best pr…

---

## [Data request that depends on data input](https://discourse.nodered.org/t/data-request-that-depends-on-data-input/69568)

<div class="topic-metadata">

**Author:** [@emerson](https://discourse.nodered.org/u/emerson)\
**Replies:** 4\
**Last updated:** [25 October 2022 16:31 UTC](https://discourse.nodered.org/t/data-request-that-depends-on-data-input/69568 "2022-10-25T16:31:40Z")

</div>

hello, I'm requesting data from a website to use in a project. However, I need to put the city and the type of tariff before getting the data, so that the http request and the html cannot pull the value

---

## [S7 node not connect to plc1200](https://discourse.nodered.org/t/s7-node-not-connect-to-plc1200/69579)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 0\
**Last updated:** [25 October 2022 14:57 UTC](https://discourse.nodered.org/t/s7-node-not-connect-to-plc1200/69579 "2022-10-25T14:57:22Z")

</div>

Hi all, I'm trying create an application to comunicate (write/read) input output and database values with siemens 1200. I put in attach some screenshot to show you the settings I put in tia portal and node-red. Thi ping …

---

## [Serial input node stops reading data](https://discourse.nodered.org/t/serial-input-node-stops-reading-data/69451)

<div class="topic-metadata">

**Author:** [@XYZ](https://discourse.nodered.org/u/XYZ)\
**Replies:** 23\
**Last updated:** [25 October 2022 14:45 UTC](https://discourse.nodered.org/t/serial-input-node-stops-reading-data/69451 "2022-10-25T14:45:18Z")

</div>

I am using a serial input node. The node just stops after approximately around 4-5 minutes. I am using the function: const d = Date.now() function getData() { return msg.payload } const tmp =\[{series: \["US1"\],data:…

---

## [Fatal error in , line 0](https://discourse.nodered.org/t/fatal-error-in-line-0/69483)

<div class="topic-metadata">

**Author:** [@strbaknxp](https://discourse.nodered.org/u/strbaknxp)\
**Replies:** 6\
**Last updated:** [25 October 2022 14:27 UTC](https://discourse.nodered.org/t/fatal-error-in-line-0/69483 "2022-10-25T14:27:41Z")

</div>

Hello, I have a problem. The NR terminated with this error: # # Fatal error in , line 0 # Check failed: result.second. # # # #FailureMessage Object: 01DDEE18 There is no more information even I have a debug mode on t…

---

## [SSL Creation for Heroku & postgres](https://discourse.nodered.org/t/ssl-creation-for-heroku-postgres/68394)

<div class="topic-metadata">

**Author:** [@wyatthensley](https://discourse.nodered.org/u/wyatthensley)\
**Replies:** 2\
**Last updated:** [25 October 2022 13:55 UTC](https://discourse.nodered.org/t/ssl-creation-for-heroku-postgres/68394 "2022-10-25T13:55:00Z")

</div>

I am trying to pull data from a Heroku postgres database. I am running this on a pi. Current version of Node-Red v3.0.2. How in the world do I get an SSL Key or certification from Heroku to a file for my node to pick …

---

## [Split Data from Tasmota and write them to Influx](https://discourse.nodered.org/t/split-data-from-tasmota-and-write-them-to-influx/69498)

<div class="topic-metadata">

**Author:** [@DJ3MG](https://discourse.nodered.org/u/DJ3MG)\
**Replies:** 13\
**Last updated:** [25 October 2022 13:24 UTC](https://discourse.nodered.org/t/split-data-from-tasmota-and-write-them-to-influx/69498 "2022-10-25T13:24:27Z")

</div>

Hello together, I am a newbie in Node Red, MQTT and Influx DB. At the moment I am receiving different data from different Tasmota devices and write them into an Influx DB. This works. But: In my opinion it must be p…

---

## [Broken http request flow](https://discourse.nodered.org/t/broken-http-request-flow/69507)

<div class="topic-metadata">

**Author:** [@om3rx](https://discourse.nodered.org/u/om3rx)\
**Replies:** 2\
**Last updated:** [25 October 2022 12:25 UTC](https://discourse.nodered.org/t/broken-http-request-flow/69507 "2022-10-25T12:25:20Z")

</div>

Hello Node-Red community, I have basic flow that triggers 5hours from a website everyday at 00:00 and write them in a times.txt file. It was working fine in last few months but I think something changed on the target w…

---

## [Invalid JSONata expression: Unable to cast value to a number](https://discourse.nodered.org/t/invalid-jsonata-expression-unable-to-cast-value-to-a-number/69549)

<div class="topic-metadata">

**Author:** [@Giacomo23](https://discourse.nodered.org/u/Giacomo23)\
**Replies:** 3\
**Last updated:** [25 October 2022 12:15 UTC](https://discourse.nodered.org/t/invalid-jsonata-expression-unable-to-cast-value-to-a-number/69549 "2022-10-25T12:15:25Z")

</div>

hello everyone, I have to convert values to string, only that when I try to do an edit change node with expresion "$ number (payload)" it gives me the following error "Invalid JSONata expression: Unable to cast value to …

---

## [How to parameterise MQTTin Topic text](https://discourse.nodered.org/t/how-to-parameterise-mqttin-topic-text/69460)

<div class="topic-metadata">

**Author:** [@TheRedReactor](https://discourse.nodered.org/u/TheRedReactor)\
**Replies:** 7\
**Last updated:** [25 October 2022 12:04 UTC](https://discourse.nodered.org/t/how-to-parameterise-mqttin-topic-text/69460 "2022-10-25T12:04:58Z")

</div>

I'm completely new to Node Red but have managed to get a nice UI up and running, it's been fun putting that together. I'm using the MQTTin / MQTTout nodes for several topics and I am trying to make the topic name config…

[Previous page](https://discourse.nodered.org/c/general/7.md?page=302)

[Next page](https://discourse.nodered.org/c/general/7.md?page=304)
