Node: msg.payload msg.payload : undefined

Hi, I'm testing node red and I've created a signal called data from the prosys server, and I've connected it to this client, but I don't know why it doesn't read the number value. It detects the message but tells me: node: msg.payload msg.payload: undefined, so the value doesn´t appear in the client, as you can see in the following picture.


It also appears a warning saying: msg : string[26]
"userIdentity is ANONYMOUS ", and I don´t understand why because when I created the OPC UA Client in node red, I didn´t put the anonymous clicked as you can see, and in the prosys neither.

I´ve tried in UaExpert which is another different cliet, and in that client it works and appears the value and it updates itself every time, so I guess it´s a node red problem.

Thank you in advance, I´m really new so I don´t know how to fix it

Welcome to the forum @lidia.

Try changing your debug node to show the complete message object. There may be clues in the overall message structure.

I don't know where the warning comes from, but if msg is a string as it says, msg.payload is indeed undefined.

Thanks,i did what you say about showing the complete message and it appears this: {"error":null,"endpoint":"opc.tcp://ESVLCP-13KVW33.CorpDSB.com:53530/OPCUA/SimulationServer","status":"active reading","_msgid":"bccd989d863a8c11"} ?????

So there is no msg.payload.

Look in the documentation for your opcua nodes.
There may be something significant in the client node having 3 outputs while you are only wired up to the centre one.

I did it like that because of this video: OPC UA - Initiation - Les bases pour débuter avec Démo PROSYS Simulation / UA-EXpert / Node-RED , and it works for him tha´s why I´m confused it should be working

Read the side bar built in help - what does it say about the outputs? Alternately, add full debug nodes to all the outputs and see what you get?

The opcua client node in that video only has one output, yours has 3, it may be from a different set of contributed nodes.

Looking at Library - Node-RED, there are a few opcua nodes but by far the most popular seems to be node-red-contrib-opcua.
Which nodes did you install?

And as Steve says, connect all 3 outputs to debug nodes to scrutinise the outputs.