Skip to main content

Create Document - Possible Errors

Document conversion failure

Error code

R1010

Error description

The below error occurs when the file that you're trying to upload could not be converted or imported in Writer.

Error Response

{
    "error":  {
        "message": "We were unable to convert the uploaded document to the given format.”,
        "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": "R1010”
    }
}

Suggested action 

Please try again with Writer supported documents.

File size exceeded

Error code

R1007

Error description

The size of the file you're trying to upload has exceeded the maximum file size supported by Writer.

Error Response

{
    "error":  {
        "message": "Size of the file you're trying to import seems to be more than the allowed size.”,
        "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": "R1007”
    }
}

Suggested action 

Please try to import again with Writer allowed size documents (upto 10 MB).

Unsupported file extension

Error code

R1002

Error description

The file you're trying to import has an unsupported extension. 

Error Response

{
    "error":  {
        "message": "File you're trying to import seems to have an unsupported extension.”,
         "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": "R1002”
    }
}

Suggested action 

Please change the extension and try again.

Virus detected

Error code

R1009

Error description

The file you're trying to import via the web URL seems to contain a virus. 

Error Response

{
    "error":  {
        "message": "File you're trying to import seems to contain a virus.",
         "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": "R1009”
    }
}

Suggested action 

Please try to import again with virus free documents.

Invalid import URL

Error code

R1000, R1001

Error description

Unable to import the required file. This may occur when you're trying to import a file from an invalid web URL. 

Error Response

{
    "error":  {
        "message": "We were unable to import the file.",
         "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": "R1000”
    }
}

 

{
    "error":  {
        "message": "We were unable to import the file.",
         "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": "R1001”
    }
}

Unsupported content type

Error code

R1008

Error description

You get the above error when the file you're trying to import has an unsupported content-type. 

Error Response

{
    "error":  {
        "message": "File you're trying to import seems to be in an unsupported content-type.",
         "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": "R1008”
    }
}

Suggested action 

Change the content-type/file format and try importing your file.

Uploaded document is corrupted

Error code

R1013

Error description

The file which you are trying to upload is corrupted.

Error Response

{
    "error":  {
        "message": "Convert operation failed as uploaded document seems to be corrupted.",
         "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": "R1013”
    }
}

Suggested action 

Please try again with uncorrupted documents.

Password not provided

Error code

R1014

Error description

The document imported seems to be password protected and the password is not provided. Hence, the conversion operation has failed.

Error Response

{
    "error":  {
        "message": "Convert operation failed as the upload document is password protected. Provide a valid password and try again.",
         "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": "R1014”
    }
}

Suggested action

Please try again by passing the 'password' parameter along with the request (while importing the document).

Invalid password

Error code

R1015

Error description

The document imported seems to be password protected and the provided password is incorrect. Hence, the conversion operation has failed.

Error Response

{
    "error":  {
        "message": "Convert operation failed as the password you've entered is incorrect. Try again with a valid password.",
         "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": "R1015”
    }
}

Suggested action

Please try again by passing the correct value for the 'password' parameter along with the request (while importing the document).

File format not supported

Error code

R1016

Error description

The file format (MS Word 97 or older) of the uploaded file is not supported. Hence, the conversion operation has failed.

Error Response

{
    "error":  {
        "message": "Convert operation failed as the upload file format (MS Word 97 or older) is not supported.",
         "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": "R1016”
    }
}

Suggested action

Please try again with the latest version of word document.

Filename is too large

Error code

R2005

Error description

The length of the filename provided exceeded the allowed limit. 

Error Response

{
    "error":  {
        "message": "Length of the parameters have not been configured correctly.",
         "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": "R2005”
    }
}

Suggested action 

Please enter a valid name and try again.

For the complete list of general errors, refer here.