00001 // 00002 // RFC 3730 00003 // 00004 00005 00006 //Successful command completion responses: 00007 00008 //1000 "Command completed successfully" 00009 //This is the usual response code for a successfully completed command 00010 //that is not addressed by any other 1xxx-series response code. 00011 #define EPP_CODE_SUCCESS 1000 00012 //1001 "Command completed successfully; action pending" 00013 //This response code MUST be returned when responding to a command the 00014 //requires offline activity before the requested action can be 00015 //completed. See section 2 for a description of other processing 00016 //requirements. 00017 #define EPP_CODE_SUCCESS_PENDING 1001 00018 00019 //1300 "Command completed successfully; no messages" 00020 //This response code MUST be returned when responding to a <poll> 00021 //request command and the server message queue is empty. 00022 #define EPP_CODE_SUCCESS_NOMSG 1300 00023 00024 //1301 "Command completed successfully; ack to dequeue" 00025 //This response code MUST be returned when responding to a <poll> 00026 //request command and a message has been retrieved from the server 00027 //message queue. 00028 #define EPP_CODE_SUCCESS_ACK_TO_DEQUEUE 1300 00029 00030 //1500 "Command completed successfully; ending session" 00031 //This response code MUST be returned when responding to a successful 00032 //<logout> command. 00033 #define EPP_CODE_SUCCESS_LOGOUT 1500 00034 00035 00036 00037 //Command error responses: 00038 00039 //2000 "Unknown command" 00040 //This response code MUST be returned when a server receives a command 00041 //element that is not defined by EPP. 00042 #define EPP_CODE_ERROR_UNKNOWN_CMD 2000 00043 00044 //2001 "Command syntax error" 00045 //This response code MUST be returned when a server receives an 00046 //improperly formed command element. 00047 #define EPP_CODE_ERROR_SYNTAX_ERROR 2001 00048 00049 //2002 "Command use error" 00050 //This response code MUST be returned when a server receives a properly 00051 //formed command element, but the command can not be executed due to a 00052 //sequencing or context error. For example, a <logout> command can not 00053 //be executed without having first completed a <login> command. 00054 #define EPP_CODE_ERROR_COMMAND_USE 2002 00055 00056 //2003 "Required parameter missing" 00057 //This response code MUST be returned when a server receives a command 00058 //for which a required parameter value has not been provided. 00059 #define EPP_CODE_ERROR_NO_PARAM 2003 00060 00061 //2004 "Parameter value range error" 00062 //This response code MUST be returned when a server receives a command 00063 //parameter whose value is outside the range of values specified by the 00064 //protocol. The error value SHOULD be returned via a <value> element 00065 //in the EPP response. 00066 #define EPP_CODE_ERROR_RANGE_ERROR 2004 00067 00068 //2005 "Parameter value syntax error" 00069 //This response code MUST be returned when a server receives a command 00070 //containing a parameter whose value is improperly formed. The error 00071 //value SHOULD be returned via a <value> element in the EPP response. 00072 #define EPP_CODE_ERROR_PARAM_SYNTAX_ERROR 2005 00073 00074 //2100 "Unimplemented protocol version" 00075 //This response code MUST be returned when a server receives a command 00076 //element specifying a protocol version that is not implemented by the 00077 //server. 00078 #define EPP_CODE_ERROR_UNIPLEMENTED_PROTO 2100 00079 00080 //2101 "Unimplemented command" 00081 //This response code MUST be returned when a server receives a valid 00082 //EPP command element that is not implemented by the server. For 00083 //example, a <transfer> command can be unimplemented for certain object 00084 //types. 00085 #define EPP_CODE_ERROR_UNIMPLEMENTED_COMMAND 2101 00086 00087 00088 //2102 "Unimplemented option" 00089 //This response code MUST be returned when a server receives a valid 00090 //EPP command element that contains a protocol option that is not 00091 //implemented by the server. 00092 #define EPP_CODE_ERROR_UNIMPLEMENTED_OPTION 2102 00093 00094 //2103 "Unimplemented extension" 00095 //This response code MUST be returned when a server receives a valid 00096 //EPP command element that contains a protocol command extension that 00097 //is not implemented by the server. 00098 #define EPP_CODE_ERROR_UNIMPLEMENTED_EXTENTION 2103 00099 00100 //2104 "Billing failure" 00101 //This response code MUST be returned when a server attempts to execute 00102 //a billable operation and the command can not be completed due to a 00103 //client billing failure. 00104 #define EPP_CODE_ERROR_BILLING_FAILURE 2104 00105 00106 //2105 "Object is not eligible for renewal" 00107 //This response code MUST be returned when a client attempts to <renew> 00108 //an object that is not eligible for renewal in accordance with server 00109 //policy. 00110 #define EPP_CODE_ERROR_CANT_RENEW 2105 00111 00112 00113 //2106 "Object is not eligible for transfer" 00114 //This response code MUST be returned when a client attempts to 00115 //<transfer> an object that is not eligible for transfer in accordance 00116 //with server policy. 00117 #define EPP_CODE_ERROR_CANT_TRANSFER 2106 00118 00119 //2200 "Authentication error" 00120 //This response code MUST be returned when a server notes an error when 00121 //validating client credentials. 00122 #define EPP_CODE_ERROR_AUTHENTICATION 2200 00123 00124 //2201 "Authorization error" 00125 //This response code MUST be returned when a server notes a client 00126 //authorization error when executing a command. This error is used to 00127 //note that a client lacks privileges to execute the requested command. 00128 #define EPP_CODE_ERROR_AUTHORIZATION 2201 00129 00130 //2202 "Invalid authorization information" 00131 //This response code MUST be returned when a server receives invalid 00132 //command authorization information required to confirm authorization 00133 //to execute a command. This error is used to note that a client has 00134 //the privileges required to execute the requested command, but the 00135 //authorization information provided by the client does not match the 00136 //authorization information archived by the server. 00137 #define EPP_CODE_ERROR_INVALID_AUTHORIZATION 2202 00138 00139 00140 //2300 "Object pending transfer" 00141 //This response code MUST be returned when a server receives a command 00142 //to transfer an object that is pending transfer due to an earlier 00143 //transfer request. 00144 #define EPP_CODE_ERROR_PENDING_TRANSFER 2300 00145 00146 //2301 "Object not pending transfer" 00147 //This response code MUST be returned when a server receives a command 00148 //to confirm, reject, or cancel the transfer an object when no command 00149 //has been made to transfer the object. 00150 #define EPP_CODE_ERROR_NOT_PENDING_TRANSFER 2301 00151 00152 //2302 "Object exists" 00153 //This response code MUST be returned when a server receives a command 00154 //to create an object that already exists in the repository. 00155 #define EPP_CODE_ERROR_OBJECT_EXISTS 2302 00156 00157 //2303 "Object does not exist" 00158 //This response code MUST be returned when a server receives a command 00159 //to query or transform an object that does not exist in the 00160 //repository. 00161 #define EPP_CODE_ERROR_OBJECT_NOT_EXISTS 2303 00162 00163 //2304 "Object status prohibits operation" 00164 //This response code MUST be returned when a server receives a command 00165 //to transform an object that can not be completed due to server policy 00166 //or business practices. For example, a server can disallow <transfer> 00167 //commands under terms and conditions that are matters of local policy, 00168 //or the server might have received a <delete> command for an object 00169 //whose status prohibits deletion. 00170 #define EPP_CODE_ERROR_OBJECT_PROHIBITS_OP 2304 00171 00172 //2305 "Object association prohibits operation" 00173 //This response code MUST be returned when a server receives a command 00174 //to transform an object that can not be completed due to dependencies 00175 //on other objects that are associated with the target object. For 00176 //example, a server can disallow <delete> commands while an object has 00177 //active associations with other objects. 00178 #define EPP_CODE_ERROR_OBJECT_ASSOC_PROHIBITS_OP 2305 00179 00180 //2306 "Parameter value policy error" 00181 //This response code MUST be returned when a server receives a command 00182 //containing a parameter value that is syntactically valid, but 00183 //semantically invalid due to local policy. For example, the server 00184 //can support a subset of a range of valid protocol parameter values. 00185 //The error value SHOULD be returned via a <value> element in the EPP 00186 //response. 00187 #define EPP_CODE_ERROR_PARAM_POLICY 2306 00188 00189 //2307 "Unimplemented object service" 00190 //This response code MUST be returned when a server receives a command 00191 //to operate on an object service that is not supported by the server. 00192 #define EPP_CODE_ERROR_UNIMPLEMENTED_SERVICE 2307 00193 00194 //2308 "Data management policy violation" 00195 //This response code MUST be returned when a server receives a command 00196 //whose execution results in a violation of server data management 00197 //policies. For example, removing all attribute values or object 00198 //associations from an object might be a violation of a server's data 00199 //management policies. 00200 #define EPP_CODE_ERROR_DATA_MNG_POLICY_VIOLATION 2308 00201 00202 00203 //2400 "Command failed" 00204 //This response code MUST be returned when a server is unable to 00205 //execute a command due to an internal server error that is not related 00206 //to the protocol. The failure can be transient. The server MUST keep 00207 //any ongoing session active. 00208 #define EPP_CODE_ERROR_COMMAND 2400 00209 00210 //2500 "Command failed; server closing connection" 00211 //This response code MUST be returned when a server receives a command 00212 //that can not be completed due to an internal server error that is not 00213 //related to the protocol. The failure is not transient, and will 00214 //cause other commands to fail as well. The server MUST end the active 00215 //session and close the existing connection. 00216 #define EPP_CODE_ERROR_COMMAND_CLOSE 2500 00217 00218 //2501 "Authentication error; server closing connection" 00219 //This response code MUST be returned when a server notes an error when 00220 //validating client credentials and a server-defined limit on the 00221 //number of allowable failures has been exceeded. The server MUST 00222 //close the existing connection. 00223 #define EPP_CODE_ERROR_AUTHENTICATION_CLOSE 2501 00224 00225 00226 //2502 "Session limit exceeded; server closing connection" 00227 //This response code MUST be returned when a server receives a <login> 00228 //command, and the command can not be completed because the client has 00229 //exceeded a system-defined limit on the number of sessions that the 00230 //client can establish. It might be possible to establish a session by 00231 //ending existing unused sessions and closing inactive connections. 00232 #define EPP_CODE_ERROR_SESSION_LIMIT_CLOSE 2502 00233