API Docs
/
No Results Found
Errors

Errors

Zoho Expense uses HTTP status codes to indicate success or failure of an API call. In general, status codes in the 2xx range means success, 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.

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

Request Example

Click to copy
$ curl -X GET 'https://www.zohoapis.com/expense/v1/expenses/700000007942' \ -H 'X-com-zoho-expense-organizationid: 11352208' \ -H 'Authorization: Zoho-oauthtoken 6e80xxxxxxxxxxxxxxxxxxxxxxxx8a80'

Response Example

{ "code": 1002, "message": "Expense does not exist." }