Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

NETCONF error: "missing-element"


You ran a command like this:

<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

And you see an error message like this:

<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
    <error-message>An expected element is missing.</error-message>


You ran a command that does not contain all of the required elements.

In this example, the <validate> operation uses <target> to specify the datastore. It should use <source>. The error message clearly indicates that the source element is missing from the <validate> operation.


Insert the missing element into the <validate> operation, and populate it as appropriate.
In this example, insert the <source> element.