Exceptions and Error Codes
An exception that signals that a SOAP or XML/RPC exception has occurred.
Credit: Credit is not charged for an unsuccessful transaction.
Exceptions
CaptureFailedException
Analysis creation failed. See the exception message for more details about the root cause of the failure.
ServiceTimeoutException
The operation has reached timeout.
It is most likely that you are using a very large image. Try to reduce the image dimensions and invoke the method again.
InsufficientRolePermissionsException
Your account role has insufficient permissions to perform this operation.
InsufficientCreditException
There is not enough credit in your account to perform this operation.
When you ran out of credits, you cannot upload or analyze new images.
When credits package expires, you cannot analyze an existing image.
ConsecutiveLoginFailuresException
To prevent hackers from brute force login, an account will be disabled for 10 minutes after 3 consecutive login failures.
The API Throws the ConsecutiveLoginFailuresException exception aling with an HTTP "503 Service Temporarily Unavailable" error.
Error Codes
96: Login failed
The login details passed were invalid.
97: User not logged in
The method requires user authentication but the user was not logged
in.
98 Insufficient Role permissions
The authenticated user did not have the required Role permissions.
105: Service currently unavailable
The requested service is temporarily unavailable.
112: Method "method name" not found
The requested method was not found.
115: Invalid XML-RPC Method Call
The XML-RPC request document could not be parsed.
116: Capture website or image failed
The request has failed to retrieve the image file or the webpage.