Skip to product menu
Skip to main content

Document Operations - Possible Errors

No permission

Error code

R5010

Error description

User does not have enough permission or access to delete the document. 

Error Response

{
    "error":  {
        "message": "You do not have permission to perform 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": "R5010”
    }
}

Suggested action 

Please make sure you have provided your own document. If it is a document from the team folder, please contact the admin/owner of the document to provide the required permission and try again.

Delete the document

Error code

R3005

Error description

Unable to delete the document.

Error Response

{
    "error":  {
        "message": "There was a problem deleting the document. Please try again in a while.”,
        "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": "R3005”
    }
}

Suggested action 

This might be due to an internal error. Please try again after some time.

Move the document to trash

Error code

R3018

Error description

Unable to move the document to trash.

Error Response

{
    "error":  {
        "message": "There was a problem trashing the document. Please try again in a while.”,
        "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": "R3018”
    }
}

Suggested action 

This might be due to an internal error. Please try again after some time.

Restore the document

Error code

R3032

Error description

Unable to restore the document.

Error Response

{
    "error":  {
        "message": "There was a problem restoring the document. Please try again in a while.”,
        "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": "R3032”
    }
}

Suggested action 

This might be due to an internal error. Please try again after some time.

Trash in progress

Error code

R3039

Error description

This error occurs while you are trying to delete or move a document to trash, when the trashing process is already taking place in the backend.

Error Response

{
    "error":  {
        "message": "This document is currently being moved to trash. Please try again in a while.”,
        "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": "R3039”
    }
}

Suggested action 

Please try again after the backend trashing process is completed.

Document already trashed

Error code

R3047

Error description

This error occurs when you are trying to trash a document which is already moved to trash.

Error Response

{
    "error":  {
        "message": "We couldn't trash the document as it has already been trashed.”,
        "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": "R3047”
    }
}

Delete the document permanently

Error code

R3048

Error description

This error occurs when you try to delete the document permanently before trashing it.

Error Response

{
    "error":  {
        "message": "We were unable to delete this document. Please trash the document before deleting it permanently.”,
        "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": "R3048”
    }
}

Suggested action 

Please trash the document before deleting it permanently.

Get the document details

Error code

R3008

Error description

Unable to retrieve the document details.

Error Response

{
    "error":  {
        "message": "We were unable to get document details. Please 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": "R3008”
    }
}

Suggested action 

This might be due to an internal error. Please try again after some time.

For the complete list of general errors, refer here.