API Error Messages |
Element |
Description |
ver |
API Protocol version number. |
action |
The action that created the error. |
code |
Numeric error code. |
message |
Human readable description of error. |
DTD
<!ELEMENT error (action, code, message)>
<!ATTLIST error ver CDATA #REQUIRED>
<!ELEMENT action (#PCDATA)>
<!ELEMENT code (#PCDATA)>
<!ELEMENT message (#PCDATA)>
Example Error Reply
<?xml version="1.0"?>
<error ver="1.0">
<action>extgetasset</action>
<code>201</code>
<message>Could not find asset with Tag 5467 .</message>
</error>
API Numeric Error Codes |
Error Code |
Description |
101 |
Interface not enabled. The database does not have the external interface enabled or properly configured. |
102 |
Protocol not supported. The client requested a protocol version that is unknown or not supported. |
103 |
Standby. The database is on standby, and not accepting requests. It should be online in a short time. |
104 |
System Error Serious system error, database down, etc. |
105 |
Permission denied. The client has been specifically disallowed from performing the request or command issued. |
106 |
Database error. An internal database error encountered. |
107 |
Missing information. Not all required info was supplied with the request or command. |
108 |
Unknown action. The requested action is not supported. |
109 |
Authentication failed. Client authentication failed. |
110 |
Bad information. Some information supplied in the request is incorrect or malformed. |
111 |
Unknown operation. The requested operation is unknown or not supported. |
112 |
Invalid format. The response format requested is not supported. |
113 |
Invalid HTTP User-Agent header. The user-agent header string is empty or non-compliant. |
201 |
Object not found. A get request requested an object not found in the database. |
202 |
Non unique identifier. An attempt was made to add an object with an identifier already in the database. |
203 |
Object is being used. An attempt was made to delete an object that is being used by other objects or that other objects depend on. |