Result codes
Every answer carries exactly one code. Branch on the number and never on the message: <msg> is prose for a person, it is returned in the language you chose at login, and its wording is not a contract.
This is the complete set this server works with — if you see a code that is not here, it did not come from us. Three of the codes listed never arrive on port 700, and the tables say which code arrives instead of each.
1xxx — the command succeeded
| Code | Message | What it means here |
|---|---|---|
| 1000 | Command completed successfully | Done. Anything chargeable has been charged |
| 1001 | Command completed successfully; action pending | Accepted, not finished. The object is left pending and the outcome arrives as a poll message. Neither success nor failure — see below |
| 1300 | Command completed successfully; no messages | <poll op="req"> and the queue is empty |
| 1301 | Command completed successfully; ack to dequeue | A poll message is attached. It stays in the queue until you ack it |
| 1500 | Command completed successfully; ending session | The answer to <logout>. The connection closes after it |
1001 — accepted, but not finished yet
1001 means the command was accepted but is still running, and will finish without you. The outcome — success or refusal — arrives later as a message in the queue, and nowhere else.
There are two ways to get it wrong. If your program treats 1001 as a refusal, it will repeat an operation that is already under way. If it treats it as success, you will tell a customer their domain is registered when it is not.
So 1001 has to be stored as a state of its own and closed when the matching message arrives. Message queue explains how.
2000–2099 — the frame was wrong
| Code | Message | Typical cause |
|---|---|---|
| 2000 | Unknown command | An element where a command verb was expected |
| 2001 | Command syntax error | Not well-formed, or not valid against the schema |
| 2002 | Command use error | A command that is legal but not here — most often one sent before <login> |
| 2003 | Required parameter missing | A mandatory element is absent |
| 2004 | Parameter value range error | A number or date outside what is allowed — a period of 0 years, a keyTag above 65535 |
| 2005 | Parameter value syntax error | A value of the right kind in the wrong shape — a malformed name, a bad date, a digest that is not hex |
2001 almost always means your XML, not your logic. Validate against the schemas before you ship — they are on RFCs and schemas.
2100–2199 — not implemented
| Code | Message | When |
|---|---|---|
| 2100 | Unimplemented protocol version | <version> is not 1.0 |
| 2101 | Unimplemented command | A verb this server does not implement |
| 2102 | Unimplemented option | A <lang> that is not advertised |
| 2103 | Unimplemented extension | This server does not send it: an <extURI> we do not serve is 2307 |
| 2104 | Billing failure | Your balance will not cover it. Nothing was done and nothing was charged |
| 2105 | Object is not eligible for renewal | The term, the status or the zone's rules forbid renewing this name now |
| 2106 | Object is not eligible for transfer | This object cannot be transferred — see Domain transfer |
2104 is a money answer, not a protocol one. Top up and send the command again; nothing is half-done. It is the code to branch on in your own reseller accounting.
2200–2299 — authentication and permissions
| Code | Message | When |
|---|---|---|
| 2200 | Authentication error | Credentials rejected on a command that keeps the session |
| 2201 | Authorization error | You are authenticated, but this object is not yours to act on |
| 2202 | Invalid authorization information | The <authInfo> you supplied does not match — a transfer code that is wrong or has expired |
2201 and 2303 are not interchangeable. We answer 2201 where you may not act on an object and 2303 where it does not exist. But to a registrar with no right to know about an object we answer 2303 even when the object does exist — otherwise the refusal itself would reveal that it does.
2300–2399 — the object's state forbids the operation
| Code | Message | When |
|---|---|---|
| 2300 | Object pending transfer | A transfer is already in progress for it |
| 2301 | Object not pending transfer | approve, reject or cancel with no transfer under way |
| 2302 | Object exists | The name is taken — including by a name of yours that is still pending |
| 2303 | Object does not exist | No such object, or none you are entitled to see |
| 2304 | Object status prohibits operation | A status blocks it: a clientUpdateProhibited you set, a registry lock, a name in redemption |
| 2305 | Object association prohibits operation | Something still references it — a host that is still delegated, a contact still linked to a domain |
| 2306 | Parameter value policy error | Syntactically fine, forbidden by policy — a term longer than the zone allows, DNSSEC in a zone that has none, a seventh DS record |
| 2307 | Unimplemented object service | An objURI or extURI we do not serve, or a zone we do not operate |
| 2308 | Data management policy violation | The change is refused on data-policy grounds |
| 2309 | Application rejected | An application that required a decision was refused. Only the compatibility port sends it; on port 700 the same condition is 2104 |
2304 is the one to read carefully. The status that blocks you may be one you set yourself and can lift, or one the registry set and you cannot. <info> on the object tells you which.
2400–2599 — a failure on our side
| Code | Message | When |
|---|---|---|
| 2400 | Command failed | We could not complete it. Not your frame; try again, and if it persists, quote the svTRID |
| 2500 | Command failed; server closing connection | This server does not send it: such a refusal by the registry reaches you as 2400 |
| 2501 | Authentication error; server closing connection | <login> refused. See Login |
| 2502 | Session limit exceeded; server closing connection | You already hold the maximum of three sessions |
Codes that reach you from somewhere else
We stand between you and the registry that operates each zone, and that registry has its own session with us. A code about our connection to it — their session limit, our credentials — is not a verdict on your command, so it is never passed through as one. Those are translated into a code that is true of what you asked for, usually 2400, with the detail in <extValue>.
The consequence worth knowing: a 2501 or 2502 you receive is always about your session with us, and you can act on it directly.
On this page