Status Codes
Zoho Contracts uses HTTP status codes to indicate the success or failure of an API call. In general, status codes in the 2xx range means success, the 4xx range means there was an error in the provided information, and those in the 5xx range indicate server side errors. Commonly used HTTP status codes are listed below.
Status Code | Description |
200 | OK |
201 | Created |
202 | Accepted The request to create multiple resources was fulfilled with partial success and partial failure. |
204 | No Content There is no content available for the request. |
400 | Bad Request |
401 | Unauthorized The request was rejected because of an invalid AuthToken. |
403 | Forbidden The user does not have sufficient permission or not a user of the respective organization to access the resource. |
404 | Not Found The server cannot find the requested resource. It is possible that the requested resource was moved to another URL. |
405 | Method Not Allowed The requested resource does not support the HTTP method used. For example, requesting list of all counterparties API with PUT as the HTTP method. |
406 | Not Acceptable The requested response type is not supported by the client. |
409 | Conflict The request could not be processed due to a conflict. For example, a resource creation request is denied because a resource with the same name already exists. |
500 | Server Error The Zoho Contracts server encountered an error that prevented it from fulfilling the request. |