If an error occurs during processing of a method, an error message containing a description of the error together with an error code is returned.
Example
Failed to invoke method getAll in class org.termweb.api.internal.XmlRpcReceiver: The session has expired. (Code:1300)
Authentication errors
1000
The max number of concurrent users is reached
1001
The user account is disabled
1002
The client account is disabled
1003
User is logged in from another IP address
1005
No auto-login guest account exists
1006
Unknown client account
1007
Wrong login or password
1008
API is disabled
Code | Type | Error |
---|---|---|
1000 | Authentication | The max number of concurrent users is reached |
1001 | The user account is disabled | |
1002 | The client account is disabled | |
1003 | User is logged in from another IP address | |
1005 | No auto-login guest account exists | |
1006 | Unknown client account | |
1007 | Wrong login or password | |
1008 | API is disabled | |
1100 | Authorization | User is not authorized to perform this operation |
1200 | Unknown object | No such object (for specified ID or name) |
1300 | Session expired | The user's session has expired |
1400 | Unsupported object | Wrong object type for an argument in this method call |
1500 | Not validating | Object is not complete or contains illegal values |