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

CodeMessageWhat it means here
1000Command completed successfullyDone. Anything chargeable has been charged
1001Command completed successfully; action pendingAccepted, not finished. The object is left pending and the outcome arrives as a poll message. Neither success nor failure — see below
1300Command completed successfully; no messages<poll op="req"> and the queue is empty
1301Command completed successfully; ack to dequeueA poll message is attached. It stays in the queue until you ack it
1500Command completed successfully; ending sessionThe 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

CodeMessageTypical cause
2000Unknown commandAn element where a command verb was expected
2001Command syntax errorNot well-formed, or not valid against the schema
2002Command use errorA command that is legal but not here — most often one sent before <login>
2003Required parameter missingA mandatory element is absent
2004Parameter value range errorA number or date outside what is allowed — a period of 0 years, a keyTag above 65535
2005Parameter value syntax errorA 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

CodeMessageWhen
2100Unimplemented protocol version<version> is not 1.0
2101Unimplemented commandA verb this server does not implement
2102Unimplemented optionA <lang> that is not advertised
2103Unimplemented extensionThis server does not send it: an <extURI> we do not serve is 2307
2104Billing failureYour balance will not cover it. Nothing was done and nothing was charged
2105Object is not eligible for renewalThe term, the status or the zone's rules forbid renewing this name now
2106Object is not eligible for transferThis 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

CodeMessageWhen
2200Authentication errorCredentials rejected on a command that keeps the session
2201Authorization errorYou are authenticated, but this object is not yours to act on
2202Invalid authorization informationThe <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

CodeMessageWhen
2300Object pending transferA transfer is already in progress for it
2301Object not pending transferapprove, reject or cancel with no transfer under way
2302Object existsThe name is taken — including by a name of yours that is still pending
2303Object does not existNo such object, or none you are entitled to see
2304Object status prohibits operationA status blocks it: a clientUpdateProhibited you set, a registry lock, a name in redemption
2305Object association prohibits operationSomething still references it — a host that is still delegated, a contact still linked to a domain
2306Parameter value policy errorSyntactically fine, forbidden by policy — a term longer than the zone allows, DNSSEC in a zone that has none, a seventh DS record
2307Unimplemented object serviceAn objURI or extURI we do not serve, or a zone we do not operate
2308Data management policy violationThe change is refused on data-policy grounds
2309Application rejectedAn 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

CodeMessageWhen
2400Command failedWe could not complete it. Not your frame; try again, and if it persists, quote the svTRID
2500Command failed; server closing connectionThis server does not send it: such a refusal by the registry reaches you as 2400
2501Authentication error; server closing connection<login> refused. See Login
2502Session limit exceeded; server closing connectionYou 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