FoundryNet / Error codes / MQTT / Sparkplug B Sparkplug NDATA before NBIRTH
MQTT / Sparkplug B error code

Sparkplug NDATA before NBIRTH — Data message received with no birth certificate

A Sparkplug host received an NDATA or DDATA for a node it has no NBIRTH for. Sparkplug metrics are aliased by number, and the alias-to-name map lives in the birth certificate — without it the payload is undecodable.

Start free MQTT / Sparkplug B → canonical

Diagnosis

When you hit this


Resolution

How to fix it

  1. Request a rebirth
    Publish an NCMD with the Node Control/Rebirth metric set true. A compliant edge node republishes its NBIRTH immediately.
  2. Retain birth certificates
    NBIRTH and DBIRTH must be published retained so any host connecting later can decode the stream.
  3. Treat a broker restart as a fleet rebirth
    After the broker loses retained state, every edge node needs a rebirth or the data is permanently opaque.

Normalization

What Forge does about it

A request that fails on some points and succeeds on others still normalizes. The tags that arrived resolve to canonical fields as usual; the ones that did not come back are listed in unresolved_tags and excluded from coverage_pct, so a partial read reports as partial instead of quietly looking complete.


Connect

Normalize MQTT / Sparkplug B telemetry

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

# normalize telemetry from MQTT / Sparkplug B — 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 MQTT / Sparkplug B codes: CONNACK 1 CONNACK 2 CONNACK 3 CONNACK 5 Sparkplug seq out of order

Equipment that speaks MQTT / Sparkplug B: MiR (Mobile Industrial Robots) Chemical process Food & beverage process Pharma process (GMP) OTTO Motors Geek+ (Geekplus) Locus Robotics Omron AMR (LD/HD) Trumpf

MQTT / Sparkplug B protocol hub

Other protocols: Modbus OPC UA 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.