Remove Protection - Possible errors
PDF not protected
Error code
PDF9022
Error description
This error occurs when an operation that requires a password-protected PDF is attempted on a file that has no password.
Error Response
{
"error": {
"message": "The PDF manipulation operation has failed because the given pdf is not protected. Please provide the protected pdf 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": "PDF9022"
}
}
"error": {
"message": "The PDF manipulation operation has failed because the given pdf is not protected. Please provide the protected pdf 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": "PDF9022"
}
}
Suggested action
Upload a password-protected PDF and retry the operation.
Mandatory parameter missing
Error code
PDF9025
Error description
This error appears when the system tries to remove protection from a secured PDF, but the password parameter was not provided.
Error Response
{
"error": {
"message": "The password parameter is required to remove protection from the provided pdf. Kindly provide the required password to proceed.",
"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": "PDF9025"
}
}
"error": {
"message": "The password parameter is required to remove protection from the provided pdf. Kindly provide the required password to proceed.",
"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": "PDF9025"
}
}
Suggested action
Include the correct password in the password parameter and try again. Verify the password is accurate and not missing.
Note: If you still find any trouble, please write to us at: support@zohopdf.com.