Translate Document - Possible Errors

File size limit exceeded

Error code

R9101

Error description

This error occurs when the document exceeds the 20,000-character limit allowed.

Error Response

{
    "error":  {
        "message": "Document is large. Exceeds the limit of 20 thousand (20k) characters.",
        "documentation_url": "https://www.zoho.com/writer/help/api/v1/general-errors.html",
        "response_generated_time": 1594131798612,
        "request_url": “https://<invoked_api_request_url>",
        "errorcode": "R9101"
    }
}

Insufficient permission

Error code

R9102

Error description

Unable to translate document as there is no sufficient permission. Contact your admin and get the required permission.

Error Response

{
    "error":  {
        "message": "You do not have sufficient privileges to do this operation.",
        "documentation_url": "https://www.zoho.com/writer/help/api/v1/general-errors.html",
        "response_generated_time": 1594131798612,
        "request_url": “https://<invoked_api_request_url>",
        "errorcode": "R9102"
    }
}

Unsupported file format

Error code

R9103

Error description

This error occurs when the file format of the document to be translated is not supported.

Error Response

{
    "error":  {
        "message": "Translation is not supported for this document type. Please try with supported document.",
        "documentation_url": "https://www.zoho.com/writer/help/api/v1//copy-document-possible-error-codes.html",
        "response_generated_time": 1594131798612,
        "request_url": “https://<invoked_api_request_url>",
        "errorcode": "R9103"
    }
}