Insert Pages - Possible errors

Invalid page ranges count

Error code

PDF9029

Error description

This error appears when the count of objects in 'input_options' array doesn't match the number of files provided in 'source_file'.

Error Response

{
    "error":  {
        "message": "The count of objects in 'input_options' array doesn't match the number of files provided in 'source_file'.",
        "documentation_url": "https://www.zoho.com/pdfeditor/help/api/v1/general-errors.html",
        "response_generated_time": 1594131798612,
        "request_url": “https://<invoked_api_request_url>",
        "errorcode": "PDF9029"
    }
}

Suggested action

Please ensure the number of JSON objects input_options matches the number of files count in source_file.

Invalid page number

Error code

PDF9030

Error description

This error appears when the provided page numbers fall outside the actual number of pages in the PDF.

Error Response

{
    "error":  {
        "message": " The provided page numbers fall outside the actual number of pages in the PDF. Please enter valid page numbers and try again.",
        "documentation_url": "https://www.zoho.com/pdfeditor/help/api/v1/general-errors.html",
        "response_generated_time": 1594131798612,
        "request_url": “https://<invoked_api_request_url>",
        "errorcode": "PDF9030"
    }
}

Suggested action

Please provide page numbers that exist within the count of PDF pages.

Note: If you still find any trouble, please write to us at: support@zohopdf.com.