Errors
AI Tools
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Open in ChatGPT
Open in ChatGPT to ask questions about this page
Open in Claude
Open in Claude to ask questions about this page
Copy as Markdown
Copy this page as markdown to use with AI assistants
View as Markdown
Open this page as markdown in a new tab
Zoho Books uses HTTP status codes to display the result of an API call. Generally, 2xx class codes are success codes, 4xx class codes occur when the information provided by the client is incorrect, and 5xx class codes indicate server side errors. The HTTP status codes that are commonly used are listed below.
HTTP Status Codes
| Status Code | Description |
|---|---|
| 200 | OK |
| 201 | Created |
| 400 | Bad Request |
| 401 | Unauthorized (Invalid AuthToken) |
| 404 | URL Not Found |
| 405 | Method Not Allowed (Method you have called is not supported for the invoked API) |
| 429 | Rate Limit Exceeded (API usage limit exceeded) |
| 500 | Internal Error |
$ curl https://www.zohoapis.com/books/v4/invoices/700000007942?organization_id=10234695
-H 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"code": 0,
"message": "Successfully created."
}
{
"code": 1002,
"message": "Invoice does not exist."
}
{
"code": 1000,
"message": "Internal error"
}