FoundryNet / Error codes / OPC UA BadNodeIdUnknown
OPC UA error code

BadNodeIdUnknown (0x80340000) — Node ID is not known to the server

The server parsed the NodeId fine but has no node with that identifier in its address space. Distinct from BadNodeIdInvalid (0x80330000), which means the identifier is malformed.

Start free OPC UA → canonical

Diagnosis

When you hit this


Resolution

How to fix it

  1. Never hardcode the namespace index
    Read the NamespaceArray (ns=0;i=2255) at connect time and resolve your namespace URI to its current index. The URI is stable; the index is not.
  2. Browse rather than guess
    Walk from the Objects folder to confirm the node exists and get its exact identifier, including whether it is numeric, string, or GUID.
  3. Check publication in the engineering tool
    In TIA Portal or equivalent, a variable must be explicitly exposed to the OPC UA server. Existing in the PLC is not enough.

Normalization

What Forge does about it

This is a configuration or addressing mistake on the wire, upstream of anything Forge sees. Where Forge helps is the step after you fix it: once the point returns data, its vendor tag name maps to a canonical field automatically, so you do not also have to hand-maintain a name table for every point you just re-addressed.


Connect

Normalize OPC UA telemetry

One MCP endpoint serves every protocol adapter. 16,908 curated mappings, 366 canonical fields.

# normalize telemetry from OPC UA — and 13 other protocols
claude mcp add --transport http forge https://mcp.foundrynet.io/mcp \
  --header 'Authorization: Bearer YOUR_FORGE_KEY'
✓ forge connected — 32 tools available

Related

Keep reading

Other OPC UA codes: BadConnectionClosed BadTimeout BadSecurityChecksFailed BadUserAccessDenied BadSubscriptionIdInvalid

Equipment that speaks OPC UA: ABB Robotics DMG Mori Fanuc Heidenhain KUKA Mazak Okuma Siemens Sinumerik Universal Robots Chemical process

OPC UA protocol hub

Other protocols: Modbus MQTT / Sparkplug B FANUC FOCAS EtherNet/IP PROFINET / S7 BACnet/IP J1939 (CAN) MTConnect ROS 2 (DDS) SNMP MAVLink HTTP / REST CSV ingest

All error codes · All OEMs · All protocols

Industrial AI fails at the data layer. The Machine Agent explains why, weekly. Read it →
Get the thesis behind this infrastructure — The Machine Agent, weekly.