Zoho Lens - API Errors
Errors
Zoho Lens uses HTTP status codes to indicate the 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.
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 |
CopiedRequest Example
$ curl -X GET 'https://lens.zoho.com/api/v2/user' \
-H Authorization: Zoho-oauthtoken 1000.45928a488f1e453626a93e9816.384eb5e2d96c928a4fcff88f1e452be9
Response Example
HTTP/1.1 404 Not Found
Content-Type: application/json;charset=UTF-8
{
"error":{
code:1009,
message:"error message"
}
}