Xola uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a conflict occurred etc.), and codes in the 5xx range indicate an error with Xola's servers (these are rare).
Everything worked as expected.
New resource was created on Xola. Typically returned for a
Request has been accepted for processing. Typically returned for long running processes such as schedule changes and report generation.
Request was successfully processed but the server is not returning any content because multiple changes may have occurred. The client is expected to re-fetch the resource.
The request was unacceptable, often due to missing a required parameter.
No valid credentials provided.
The parameters were valid but the payment collection failed. Typically returned when charging a credit card fails.
You do not have the access to this resource
The requested resource doesn't exist.
The request could not be processed due to a resource mismatch. Typically returned when capacity or configuration has changed and the server can no longer honor the request.
Something went wrong on Xola's end. (These are rare.)