TypeError: Request path contains unescaped characters

Hello,

I had a flow that was running through then this occurred.

TypeError: Request path contains unescaped characters

I have searched for similar issues but have not found anything too similar to this.
I am assuming that I had a sustained network outage that impacted my openweathermap node?

I have stopped node-red and restarted the same message comes back and my i2c LCD display is stuck. I can not get the the message to stop which is a weakness of mine for being a Noob.
This is my broken flow:

[
    {
        "id": "55ac7a6f.5dc07c",
        "type": "tab",
        "label": "Project 24",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "d7e12e53.a06f6",
        "type": "inject",
        "z": "55ac7a6f.5dc07c",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "10",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "Click",
        "payloadType": "str",
        "x": 150,
        "y": 180,
        "wires": [
            [
                "6f7754a7.f6142c"
            ]
        ]
    },
    {
        "id": "fd280da4.456798",
        "type": "LCD20x4-I2C",
        "z": "55ac7a6f.5dc07c",
        "name": "LCD",
        "speed": "3",
        "size": "20x4",
        "address": "0x27",
        "x": 610,
        "y": 180,
        "wires": []
    },
    {
        "id": "3628ad74.330682",
        "type": "function",
        "z": "55ac7a6f.5dc07c",
        "name": "Display",
        "func": "var T = msg.payload.tempc\nvar H = msg.payload.humidity;\nvar Temp = \"Temp= \" +((T*1.8)+32)+\" F\";\nvar Hum = \"Humidity = \" + H + \"%\";\nmsg.payload={msgs:[\n                  {msg:Temp},\n                  {msg:Hum}\n                  ]};\nreturn msg;\n",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 480,
        "y": 180,
        "wires": [
            [
                "fd280da4.456798"
            ]
        ]
    },
    {
        "id": "6f7754a7.f6142c",
        "type": "openweathermap",
        "z": "55ac7a6f.5dc07c",
        "name": "Temp & Hum",
        "wtype": "current",
        "lon": "",
        "lat": "",
        "city": "DENVER",
        "country": "usa",
        "language": "en",
        "credentials": {},
        "x": 290,
        "y": 180,
        "wires": [
            []
        ]
    }
]

Is that appearing in the debug pane? If so then you should be able to click on the node id above the message and you should be taken to the node generating the error.

I know what node is generating the error, I am unable to suss out what is causing it. I deleted the node re-installed and reconfigured it. This was an openweathermap node, and I believe that it had something to do with the node loosing the API key when the monitor went to sleep or I had a momentary loss of internet in the night and the API Key did not come back after that?? Guessing at this point. All is working for now.

Still need to learn if this is the case as it may impact overall plan for this flow if I can't get past this.

Dave

Do you mean that you continue to get the error?
Does it appear each time the inject node triggers?
Did you realise that there is no output wire on the weathermap node?

By the way, I advise against using an object property called msg, it will cause confusion (to people, not to node-red).

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.