Fix common MTConnect validation errors

Use report findings to check the XML namespace, observation attributes, and data item references in the agent model.

Trace the finding

Start with the first error in the detailed report when it is available. Read the rule and inspect the referenced XML element. One parsing or model error can produce several findings.

SymptomWhere to look
Unexpected document or versionCheck the raw HTTP response. PROBE should contain MTConnectDevices. CURRENT and SAMPLE should contain MTConnectStreams. Check the root namespace and the version emitted by the agent.
Observation refers to an unknown data itemCompare the observation's dataItemId with the DataItem ID in PROBE from the same agent and configuration. For example, dataItemId="available" does not refer to id="avail".
Missing or invalid timestampCheck the source clock and the adapter or agent's timestamp formatting. A UTC example is 2026-01-15T14:03:00Z.
Unexpected sequence number or gapCompare observations within the same agent instanceId. Check firstSequence, lastSequence, and nextSequence in the stream header when reviewing a SAMPLE capture. A filtered sample can skip sequence values. An instance change or a requested sequence older than the buffer can require a new capture.
Unexpected observation typeCheck the data item's category, type, and subtype in PROBE against the observation element and value allowed by the matching MTConnect model version.

Some of these checks compare two captures. The single file upload validates each document separately, so compare PROBE and stream data yourself when investigating a cross-document mismatch.

Confirm the fix on the agent

Correct the source configuration or code, then collect a fresh XML response. Run the same validation and compare the new findings with the original. Keep both captures so another person can see what changed.

For protocol details, consult MTConnect Part 1.0: Fundamentals. For report access and behavior, see the validator FAQ.

An error has occurred. This application may no longer respond until reloaded. Reload 🗙