Open topic with navigation
Open topic with navigation
Faults
Faults are fatal, call-level errors. When a fault occurs, nothing is processed because the entire call was invalid—for example, there was an incorrect ZOQL statement, an invalid authentication, or a server error.
The following fault elements are returned if an error occurs when processing certain requests.
Fault |
Description |
ApiFault |
This is the base fault. It has a fault code (FaultCode) and a fault message (FaultMessage). The fault code points to the error code. Once you make a call, if an error occurs, it throws an exception. Catch that exception so you know what happened. The fault message is a user-readable string giving details on what error happened. |
InvalidQueryLocatorFault |
This is generated when a query locator is invalid or has expired. |
InvalidTypeFault |
This is generated when an invalid type, unknown type, or type not supported in the specified version of the API has been encountered. |
InvalidValueFault |
This is generated when an invalid value has been encountered. |
LoginFault |
This is generated when the user name and/or password are invalid. (Other conditions will apply, but they aren’t implemented yet.) |
MalformedQueryFault |
This is generated when a query string has invalid format or syntax
, or exceeds the maximum allowed length of a query statement (10,000 characters). |
UnexpectedErrorFault |
This occurs when there is an unexpected problem with the call. |
See Also
Error Handling
Errors
Copyright © 2008-2009 Zuora, Inc.
Open topic with navigation
Open topic with navigation