Error messages
When an operation fails, an error response is provided. This includes an error code and a text message. The <response> element will contain two elements:
- A <result> element containing the EPP error code. The codes used by our EPP server are described here.
- A <resData> element containing a <namespace:failData> element. The <enum:failData> eltemen is described below. The ENUM EPP server will also produce <ns:failData> elements.
<enum:failData> element
The <enum:failData> element contains the following sub-elements:
- An <enum:E164Number> giving the first element in the ENUM range.
- An <enum:lastE164Number> giving the last element in the ENUM range.
- An <enum:reason> element. This contains an error code and error message.
Example of an error message
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<response>
<result code="2004">
<msg>Parameter value range error</msg>
</result>
<resData>
<enum:failData
xmlns:enum="http://www.nominet.org.uk/epp/xml/nom-enum-1.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-enum-1.0
nom-enum-1.0.xsd">
<enum:E164Number>+441865332113</enum:E164Number>
<enum:lastE164Number>+441865332114</enum:lastE164Number>
<enum:reason>V149 Bad IPV6 address for server ns0.epp-example.co.uk </enum:reason>
</enum:failData>
</resData>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>123456</svTRID>
</trID>
</response>
</epp>